Skip to content

Commit

Permalink
fix warning of unused struct field by making it public #6
Browse files Browse the repository at this point in the history
  • Loading branch information
teamplayer3 committed Feb 3, 2024
1 parent c5dc25c commit b8d67fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit b8d67fd

Please sign in to comment.