fix some typos
This commit is contained in:
parent
ebda7662db
commit
ece9a57d1b
24 changed files with 37 additions and 37 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue