diff options
author | Thomas O'Donnell <andytom@users.noreply.github.com> | 2019-09-21 16:41:15 +0200 |
---|---|---|
committer | Kevin Song <chipbuster@users.noreply.github.com> | 2019-09-21 09:41:15 -0500 |
commit | 08340328dde344f213ed78fc38d4d0e320f61528 (patch) | |
tree | b33b705aa781922076550a794d2b15c33613190c /src/modules | |
parent | 690300239b5ccece5ecd2b5066b4b5a32b1e0fc6 (diff) |
refactor: Remove dead code in battery module (#405)
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/battery.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/battery.rs b/src/modules/battery.rs index 3ecc651f3..04b5a2d8a 100644 --- a/src/modules/battery.rs +++ b/src/modules/battery.rs @@ -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); |