diff options
| author | Jake Goulding <jake.goulding@gmail.com> | 2016-07-17 10:55:00 -0400 |
|---|---|---|
| committer | Jake Goulding <jake.goulding@gmail.com> | 2016-07-17 18:19:20 -0400 |
| commit | 661187a95eb9b00a4a120de7d22ee28706574656 (patch) | |
| tree | d93f1d0e871797c50925a2d30ce9b41daec9e425 /src | |
| parent | f6be6aa92acd34d3a8815e29bb09b7ec2a72fedc (diff) | |
| download | rust-661187a95eb9b00a4a120de7d22ee28706574656.tar.gz rust-661187a95eb9b00a4a120de7d22ee28706574656.zip | |
Remove extraneous words
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 98b5c4663cd..3c221f0fea0 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -342,7 +342,7 @@ impl<T> Vec<T> { /// /// * `ptr` needs to have been previously allocated via `String`/`Vec<T>` /// (at least, it's highly likely to be incorrect if it wasn't). - /// * `length` needs to be the length that less than or equal to `capacity`. + /// * `length` needs to be less than or equal to `capacity`. /// * `capacity` needs to be the capacity that the pointer was allocated with. /// /// Violating these may cause problems like corrupting the allocator's |
