diff --git a/phf/src/lib.rs b/phf/src/lib.rs index a63cc84a..8a782733 100644 --- a/phf/src/lib.rs +++ b/phf/src/lib.rs @@ -5,7 +5,7 @@ //! the documentation of those crates for more details. #![doc(html_root_url="https://sfackler.github.io/rust-phf/doc/v0.7.5")] #![warn(missing_docs)] -#![cfg_attr(feature = "core", feature(no_std))] +#![cfg_attr(feature = "core", feature(no_std, core_slice_ext))] #![cfg_attr(feature = "core", no_std)] #[cfg(not(feature = "core"))]