1
Fork 0

fix some typos

This commit is contained in:
Martin Lindhe 2017-11-21 15:33:45 +01:00
parent ebda7662db
commit ece9a57d1b
24 changed files with 37 additions and 37 deletions

View file

@ -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.