We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fd0085 + ee39e6e commit 672e810Copy full SHA for 672e810
src/main.rs
@@ -55,10 +55,10 @@ impl AirPurity {
55
impl fmt::Display for AirPurity {
56
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
57
match self {
58
- AirPurity::Low => write!(f, "LOW"),
59
- AirPurity::High => write!(f, "HIGH"),
60
- AirPurity::Dangerous => write!(f, "DANGEROUS"),
61
- AirPurity::FreshAir => write!(f, "FRESH_AIR")
+ AirPurity::Low => write!(f, "Fresh Air"),
+ AirPurity::High => write!(f, "Low Pollution"),
+ AirPurity::Dangerous => write!(f, "High Pollution"),
+ AirPurity::FreshAir => write!(f, "Dangerous Pollution")
62
}
63
64
0 commit comments