This commit is contained in:
JirCep 2024-04-27 17:18:25 +02:00
parent 825a3b1f09
commit f840da757f

View File

@ -1382,7 +1382,7 @@ impl String {
/// Shortens this `String` to the specified length.
///
/// 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
/// effect.
///
/// Note that this method has no effect on the allocated capacity