about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2015-10-30 01:00:39 +0900
committerSimon Sapin <simon.sapin@exyr.org>2015-10-30 01:00:39 +0900
commit4e8b8707bf3a0af3f2c08a6dd64c5155ace7a765 (patch)
treef9201b23f76b983581a8f210ad4e1e03c508087b /src/liballoc
parent01fd4d622746f03334a6543c1476e5e65712b1cc (diff)
downloadrust-4e8b8707bf3a0af3f2c08a6dd64c5155ace7a765.tar.gz
rust-4e8b8707bf3a0af3f2c08a6dd64c5155ace7a765.zip
Typo fix
… I think.
Diffstat (limited to 'src/liballoc')
-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;
             }