1
0
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:
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); 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);