We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9143a8 commit 8b60fe9Copy full SHA for 8b60fe9
vec.md
@@ -253,7 +253,7 @@ pub fn pop(&mut self) -> Option<T> {
253
254
# Deallocating
255
256
-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.
257
The easiest way is to just call `pop` until it yields None, and then deallocate
258
our buffer. Note that calling `pop` is uneeded if `T: !Drop`. In theory we can
259
ask Rust if T needs_drop and omit the calls to `pop`. However in practice LLVM
0 commit comments