From 4dc106450adb6a26b9d8bc6d8ccf0ac26f5180da Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Tue, 27 Feb 2024 20:49:06 +0200 Subject: [PATCH] todo: use anyhow crate to improve readability and maintenance --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index c392778..7d34463 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -151,6 +151,9 @@ const BME680_TMP_BUFFER_LENGTH: usize = 40; const BME680_REG_BUFFER_LENGTH: usize = 6; /// All possible errors in this crate +/// TODO: use anyhow: +/// - https://antoinerr.github.io/blog-website/2023/01/28/rust-anyhow.html +/// - https://docs.rs/anyhow/latest/anyhow/ #[derive(Debug)] pub enum Bme680Error { ///