We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cdcdaf commit 7b3ef13Copy full SHA for 7b3ef13
library/alloc/src/string.rs
@@ -261,7 +261,7 @@ use crate::vec::Vec;
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`
264
-/// uses to store its data. The length is the number of bytes currently stored
+/// used 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.
267
0 commit comments