about summary refs log tree commit diff
path: root/src/liballoc/vec.rs
diff options
context:
space:
mode:
authorMartin Lindhe <martin-commit@ubique.se>2017-11-21 15:33:45 +0100
committerMartin Lindhe <martin-commit@ubique.se>2017-11-21 15:33:45 +0100
commitece9a57d1b6e10ef2ad1dffd19fd6033cdc760ee (patch)
tree9c6d182d6229e4c1fd08fc5064a17e63bad89d89 /src/liballoc/vec.rs
parentebda7662dbb79ab0a9feb79d367d0818c23ff1dc (diff)
downloadrust-ece9a57d1b6e10ef2ad1dffd19fd6033cdc760ee.tar.gz
rust-ece9a57d1b6e10ef2ad1dffd19fd6033cdc760ee.zip
fix some typos
Diffstat (limited to 'src/liballoc/vec.rs')
-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 5aca199cf40..c29449a241e 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -1089,7 +1089,7 @@ impl<T> Vec<T> {
         // Memory safety
         //
         // When the Drain is first created, it shortens the length of
-        // the source vector to make sure no uninitalized or moved-from elements
+        // the source vector to make sure no uninitialized or moved-from elements
         // are accessible at all if the Drain's destructor never gets to run.
         //
         // Drain will ptr::read out the values to remove.