mirror of https://github.com/fafhrd91/actix-web
Extensions: Fix into_iter()
This commit is contained in:
parent
7167f15bc3
commit
08ce463297
|
@ -73,7 +73,7 @@ impl Extensions {
|
|||
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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue