Fix typo in comment

This commit is contained in:
Richard Feldman 2022-03-05 17:08:56 -05:00
parent eb663e85a6
commit 88d15a3c59
No known key found for this signature in database
GPG Key ID: 7E4127D1E4241798

View File

@ -57,7 +57,7 @@ where
let new_size = elements_offset + core::mem::size_of::<T>() * (self.len() + slice.len()); let new_size = elements_offset + core::mem::size_of::<T>() * (self.len() + slice.len());
let new_ptr = if let Some((elements, storage)) = self.elements_and_storage() { let new_ptr = if let Some((elements, storage)) = self.elements_and_storage() {
// Decrement the lists refence count. // Decrement the list's refence count.
let mut copy = storage.get(); let mut copy = storage.get();
let is_unique = copy.decrease(); let is_unique = copy.decrease();