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 f6be6aa commit 661187aCopy full SHA for 661187a
src/libcollections/vec.rs
@@ -342,7 +342,7 @@ impl<T> Vec<T> {
342
///
343
/// * `ptr` needs to have been previously allocated via `String`/`Vec<T>`
344
/// (at least, it's highly likely to be incorrect if it wasn't).
345
- /// * `length` needs to be the length that less than or equal to `capacity`.
+ /// * `length` needs to be less than or equal to `capacity`.
346
/// * `capacity` needs to be the capacity that the pointer was allocated with.
347
348
/// Violating these may cause problems like corrupting the allocator's
0 commit comments