From 08340328dde344f213ed78fc38d4d0e320f61528 Mon Sep 17 00:00:00 2001 From: Thomas O'Donnell Date: Sat, 21 Sep 2019 16:41:15 +0200 Subject: [PATCH] refactor: Remove dead code in battery module (#405) --- src/modules/battery.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/battery.rs b/src/modules/battery.rs index 3ecc651f..04b5a2d8 100644 --- a/src/modules/battery.rs +++ b/src/modules/battery.rs @@ -56,7 +56,6 @@ pub fn module<'a>(context: &'a Context) -> Option> { log::debug!("Unhandled battery state `{}`", state); return None; } - _ => return None, } let mut percent_string = Vec::::with_capacity(2);