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 825a3b1 commit f840da7Copy full SHA for f840da7
library/alloc/src/string.rs
@@ -1382,7 +1382,7 @@ impl String {
1382
1383
/// Shortens this `String` to the specified length.
1384
///
1385
- /// If `new_len` is greater than or equal to the string's current length, this has no
+ /// If `new_len` is greater than or equal to the string's current length, this has no
1386
/// effect.
1387
1388
/// Note that this method has no effect on the allocated capacity
0 commit comments