From 30b60b20f3e99914214b94e799c78bd91dff4823 Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Mon, 26 Feb 2024 20:13:10 +0200 Subject: [PATCH] fix lib.rs doc test --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 480efcc..711a8d0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ //! ```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::time::Duration; //! use embedded_hal::delay::DelayNs; @@ -15,7 +15,7 @@ //! use log::info; //! //! // Please export RUST_LOG=info in order to see logs in the console. -//! fn main() -> result::Result<(), Error> +//! fn main() -> result::Result<(), Bme680Error> //! { //! env_logger::init(); //!