1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-11 15:51:01 +00:00

refactor: Remove dead code in battery module (#405)

This commit is contained in:
Thomas O'Donnell 2019-09-21 16:41:15 +02:00 committed by Kevin Song
parent 690300239b
commit 08340328dd

View File

@ -56,7 +56,6 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> {
log::debug!("Unhandled battery state `{}`", state);
return None;
}
_ => return None,
}
let mut percent_string = Vec::<String>::with_capacity(2);