Skip to content
Snippets Groups Projects
Commit 63211d8c authored by Roman's avatar Roman Committed by Carl Lerche
Browse files

Fix `cargo doc` error on nightly caused by broken link to footnote (#218)

parent d98f49e6
No related branches found
No related tags found
No related merge requests found
......@@ -95,12 +95,12 @@ use std::iter::{FromIterator, Iterator};
/// # Inline bytes
///
/// As an optimization, when the slice referenced by a `Bytes` or `BytesMut`
/// handle is small enough [1], `with_capacity` will avoid the allocation
/// handle is small enough [^1], `with_capacity` will avoid the allocation
/// by inlining the slice directly in the handle. In this case, a clone is no
/// longer "shallow" and the data will be copied. Converting from a `Vec` will
/// never use inlining.
///
/// [1] Small enough: 31 bytes on 64 bit systems, 15 on 32 bit systems.
/// [^1]: Small enough: 31 bytes on 64 bit systems, 15 on 32 bit systems.
///
pub struct Bytes {
inner: Inner,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment