Fix no_std feature.

This commit is contained in:
Stephen Chung
2020-07-31 12:40:16 +08:00
parent cb005506e2
commit 49392d57d7
2 changed files with 2 additions and 3 deletions

View File

@@ -407,7 +407,6 @@ impl<'a> Scope<'a> {
}
/// Get an iterator to entries in the Scope.
#[cfg(not(feature = "no_module"))]
pub(crate) fn into_iter(self) -> impl Iterator<Item = Entry<'a>> {
self.0.into_iter()
}