fix lib.rs doc test

This commit is contained in:
Denis-Cosmin Nutiu 2024-02-26 20:13:10 +02:00
parent fa4cc738e0
commit 30b60b20f3

View file

@ -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();
//! //!