about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-06-19 00:33:24 +0800
committerIvan Tham <pickfire@riseup.net>2020-06-19 00:33:24 +0800
commit8aecafe8e8c375168baac42f7fdc038048089e8f (patch)
tree87b6fedc37d0c8ba774d480a828f5916a0e6dec6 /src/liballoc
parente55d3f9c5213fe1a25366450127bdff67ad1eca2 (diff)
downloadrust-8aecafe8e8c375168baac42f7fdc038048089e8f.tar.gz
rust-8aecafe8e8c375168baac42f7fdc038048089e8f.zip
Fix liballoc doc spelling
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index 06462fd96d9..13dfb8b332d 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -1639,7 +1639,7 @@ impl<T: Default> Vec<T> {
     }
 }
 
-// This code generalises `extend_with_{element,default}`.
+// This code generalizes `extend_with_{element,default}`.
 trait ExtendWith<T> {
     fn next(&mut self) -> T;
     fn last(self) -> T;