build(deps): update rust crate starship-battery to 0.8.0 (#5106)

This commit is contained in:
David Knaack
2023-04-13 10:41:25 +02:00
committed by GitHub
parent 39f0944bbc
commit 7daddbe620
3 changed files with 17 additions and 49 deletions
-4
View File
@@ -37,10 +37,6 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> {
.or(Some(config.discharging_symbol)),
battery::State::Unknown => Some(config.unknown_symbol),
battery::State::Empty => Some(config.empty_symbol),
_ => {
log::debug!("Unhandled battery state `{}`", state);
None
}
},
_ => None,
})