From b8d67fd6097df61013bf5395f9da37f691b1ab35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20H=C3=BCbener?= Date: Sat, 3 Feb 2024 11:12:02 +0100 Subject: [PATCH] fix warning of unused struct field by making it public #6 --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 3c8ffdc..4c10155 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,5 +1,5 @@ #[derive(Debug)] -pub struct AirQualityConvError(pub(crate) u16); +pub struct AirQualityConvError(pub u16); #[cfg(feature = "std")] impl std::fmt::Display for AirQualityConvError {