We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1f8e6f commit e88fe1dCopy full SHA for e88fe1d
src/liballoc/string.rs
@@ -364,7 +364,7 @@ impl String {
364
///
365
/// Given that the `String` is empty, this will not allocate any initial
366
/// buffer. While that means that this initial operation is very
367
- /// inexpensive, but may cause excessive allocation later, when you add
+ /// inexpensive, it may cause excessive allocation later when you add
368
/// data. If you have an idea of how much data the `String` will hold,
369
/// consider the [`with_capacity`] method to prevent excessive
370
/// re-allocation.
0 commit comments