We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64fe7e1 commit a3304e8Copy full SHA for a3304e8
src/bytes_mut.rs
@@ -114,8 +114,7 @@ impl BytesMut {
114
/// Creates a new `BytesMut` with the specified capacity.
115
///
116
/// The returned `BytesMut` will be able to hold at least `capacity` bytes
117
- /// without reallocating. If `capacity` is under `4 * size_of::<usize>() - 1`,
118
- /// then `BytesMut` will not allocate.
+ /// without reallocating.
119
120
/// It is important to note that this function does not specify the length
121
/// of the returned `BytesMut`, but only the capacity.
0 commit comments