]> git.lizzy.rs Git - rust.git/commitdiff
The Unsafe English Language demands tribute
authorManish Goregaokar <manishsmail@gmail.com>
Thu, 25 Jun 2015 08:15:52 +0000 (13:45 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Thu, 25 Jun 2015 08:15:52 +0000 (13:45 +0530)
vec.md

diff --git a/vec.md b/vec.md
index 9f7250c951af6094ebb889e73d794e87b93f9a77..31cc70a913910f2e59036df50cd224ab0db239f2 100644 (file)
--- a/vec.md
+++ b/vec.md
@@ -253,7 +253,7 @@ pub fn pop(&mut self) -> Option<T> {
 
 # Deallocating
 
-Next we should implement Drop so that we don't massively leaks tons of resources.
+Next we should implement Drop so that we don't massively leak tons of resources.
 The easiest way is to just call `pop` until it yields None, and then deallocate
 our buffer. Note that calling `pop` is uneeded if `T: !Drop`. In theory we can
 ask Rust if T needs_drop and omit the calls to `pop`. However in practice LLVM