mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 21:57:41 +00:00
refactor: Remove dead code in battery module (#405)
This commit is contained in:
parent
690300239b
commit
08340328dd
@ -56,7 +56,6 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> {
|
|||||||
log::debug!("Unhandled battery state `{}`", state);
|
log::debug!("Unhandled battery state `{}`", state);
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
_ => return None,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut percent_string = Vec::<String>::with_capacity(2);
|
let mut percent_string = Vec::<String>::with_capacity(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user