Skip to content

Commit 8b60fe9

Browse files
committed
The Unsafe English Language demands tribute
1 parent a9143a8 commit 8b60fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ pub fn pop(&mut self) -> Option<T> {
253253

254254
# Deallocating
255255

256-
Next we should implement Drop so that we don't massively leaks tons of resources.
256+
Next we should implement Drop so that we don't massively leak tons of resources.
257257
The easiest way is to just call `pop` until it yields None, and then deallocate
258258
our buffer. Note that calling `pop` is uneeded if `T: !Drop`. In theory we can
259259
ask Rust if T needs_drop and omit the calls to `pop`. However in practice LLVM

0 commit comments

Comments
 (0)