diff --git a/src/rcore/serialization.rs b/src/rcore/serialization.rs index 217d761..0a3cd7b 100644 --- a/src/rcore/serialization.rs +++ b/src/rcore/serialization.rs @@ -3,7 +3,9 @@ /// /// See [`Serializable`]. pub trait Serializer { - /// Writes bytes from a slice. Should advance value of [`Serializer::tell()`] by `buf.len()`. + /// Writes bytes from a slice. Should advance value of [`Serializer::tell()`] by [`buf.len`]. + /// + /// [`buf.len`]: slice::len fn write(&mut self, buf: &[u8]); /// Current position of the stream. Used by [`CheckedSerialize`]. ///