diff --git a/Cargo.toml b/Cargo.toml index e0e9c90..c11efc8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,13 +10,11 @@ rust-version = "1.62" [dependencies] bitflags = "1.2" -lazy_static = "1.0.1" [dev-dependencies] pretty_assertions = "0.6" lazy_static = "1.4" [features] -default = ["spin_no_std"] +default = ["std"] std = [] -spin_no_std = ["lazy_static/spin_no_std"] diff --git a/src/lib.rs b/src/lib.rs index 6cef1bc..6344d96 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -156,11 +156,10 @@ impl EntryPoint { /// # Example /// /// ``` - /// # extern crate failure; /// # extern crate dmidecode; - /// # use failure::Error; + /// # use std::error::Error; /// use dmidecode::EntryPoint; - /// # fn try_main() -> Result<(), Error> { + /// # fn try_main() -> Result<(), Box> { /// # /// const DMIDECODE_BIN: &'static [u8] = include_bytes!("../tests/data/dmidecode.bin"); ///