Extensions: Fix into_iter()

This commit is contained in:
Denys Vitali 2019-05-31 17:56:54 +02:00
parent 7167f15bc3
commit 08ce463297
No known key found for this signature in database
GPG Key ID: 8883F38950E654A4
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ impl Extensions {
self.map.clear(); self.map.clear();
} }
pub fn into_iter(&self) -> IntoIter<TypeId, Box<Any>> { pub fn into_iter(self) -> IntoIter<TypeId, Box<Any>> {
self.map.into_iter() self.map.into_iter()
} }