We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b75def + f90e0a9 commit 25260faCopy full SHA for 25260fa
alloc/src/string.rs
@@ -260,7 +260,7 @@ use crate::vec::Vec;
260
/// # Representation
261
///
262
/// A `String` is made up of three components: a pointer to some bytes, a
263
-/// length, and a capacity. The pointer points to an internal buffer `String`
+/// length, and a capacity. The pointer points to the internal buffer which `String`
264
/// uses to store its data. The length is the number of bytes currently stored
265
/// in the buffer, and the capacity is the size of the buffer in bytes. As such,
266
/// the length will always be less than or equal to the capacity.
0 commit comments