Skip to content

Commit

Permalink
Fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Mar 4, 2024
1 parent e3b3665 commit 7a4de76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
5 changes: 2 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<dyn Error>> {
/// #
/// const DMIDECODE_BIN: &'static [u8] = include_bytes!("../tests/data/dmidecode.bin");
///
Expand Down

0 comments on commit 7a4de76

Please sign in to comment.