fix lib.rs doc test
This commit is contained in:
parent
fa4cc738e0
commit
30b60b20f3
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
//! ```no_run
|
//! ```no_run
|
||||||
|
|
||||||
|
|
||||||
//! use bme680::{Bme680, Error, I2CAddress, IIRFilterSize, OversamplingSetting, PowerMode, SettingsBuilder};
|
//! use bme680::{Bme680, Bme680Error, I2CAddress, IIRFilterSize, OversamplingSetting, PowerMode, SettingsBuilder};
|
||||||
//! use core::result;
|
//! use core::result;
|
||||||
//! use core::time::Duration;
|
//! use core::time::Duration;
|
||||||
//! use embedded_hal::delay::DelayNs;
|
//! use embedded_hal::delay::DelayNs;
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
//! use log::info;
|
//! use log::info;
|
||||||
//!
|
//!
|
||||||
//! // Please export RUST_LOG=info in order to see logs in the console.
|
//! // Please export RUST_LOG=info in order to see logs in the console.
|
||||||
//! fn main() -> result::Result<(), Error<I2CError>>
|
//! fn main() -> result::Result<(), Bme680Error>
|
||||||
//! {
|
//! {
|
||||||
//! env_logger::init();
|
//! env_logger::init();
|
||||||
//!
|
//!
|
||||||
|
|
Loading…
Reference in a new issue