Add a missing feature check.

This commit is contained in:
whitequark 2017-11-21 12:02:25 +00:00
parent 52a6e27206
commit 715aa4b217
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ impl<'a> Cache<'a> {
.0
}
// Owned maps can extend themselves.
#[cfg(any(feature = "std", feature = "alloc"))]
ManagedMap::Owned(_) => unreachable!()
};