Reverse function call parameter change.

This commit is contained in:
Stephen Chung
2020-10-12 19:36:34 +08:00
parent 21b989afd5
commit 6d0851de44
2 changed files with 5 additions and 17 deletions

View File

@@ -488,12 +488,6 @@ impl<'a> Scope<'a> {
}| { (name.as_ref(), typ.is_constant(), value) },
)
}
/// Get a mutable iterator to entries in the Scope.
#[inline(always)]
pub(crate) fn iter_mut(&mut self) -> impl Iterator<Item = &mut Entry<'a>> {
self.0.iter_mut()
}
}
impl<'a, K: Into<Cow<'a, str>>> iter::Extend<(K, EntryType, Dynamic)> for Scope<'a> {