Skip to content

Commit 661187a

Browse files
committed
Remove extraneous words
1 parent f6be6aa commit 661187a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ impl<T> Vec<T> {
342342
///
343343
/// * `ptr` needs to have been previously allocated via `String`/`Vec<T>`
344344
/// (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`.
345+
/// * `length` needs to be less than or equal to `capacity`.
346346
/// * `capacity` needs to be the capacity that the pointer was allocated with.
347347
///
348348
/// Violating these may cause problems like corrupting the allocator's

0 commit comments

Comments
 (0)