about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-10-29 20:46:44 +0000
committerbors <bors@rust-lang.org>2015-10-29 20:46:44 +0000
commit7646fcfe549ee5d3ddcf2f2f6f2d2e6919099d83 (patch)
treebc99b6f104d84b11193a1b49c5023b76a5a56d0d /src
parent4d11db650137a8b515fd6cbef60bccd9bbe37869 (diff)
parent4e8b8707bf3a0af3f2c08a6dd64c5155ace7a765 (diff)
downloadrust-7646fcfe549ee5d3ddcf2f2f6f2d2e6919099d83.tar.gz
rust-7646fcfe549ee5d3ddcf2f2f6f2d2e6919099d83.zip
Auto merge of #29452 - SimonSapin:patch-14, r=alexcrichton
… I think.
Diffstat (limited to 'src')
-rw-r--r--src/liballoc/raw_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/raw_vec.rs b/src/liballoc/raw_vec.rs
index 996a590043a..eef8f3e94e0 100644
--- a/src/liballoc/raw_vec.rs
+++ b/src/liballoc/raw_vec.rs
@@ -354,7 +354,7 @@ impl<T> RawVec<T> {
             // panic.
 
             // Don't actually need any more capacity.
-            // Wrapping in case they give a bas `used_cap`
+            // Wrapping in case they give a bad `used_cap`
             if self.cap().wrapping_sub(used_cap) >= needed_extra_cap {
                 return;
             }