Remove unnecessary explicit 'static

This commit is contained in:
Wojciech Kozlowski 2018-12-30 21:36:33 +08:00
parent 87b9b4a541
commit 5b27106699

View File

@ -1,10 +1,10 @@
//! # rwmstatus configuration //! # rwmstatus configuration
/// Path to monitors. /// Path to monitors.
pub const HW_MON_PATH: &'static str = "/sys/devices/virtual/hwmon"; pub const HW_MON_PATH: &str = "/sys/devices/virtual/hwmon";
/// Path to power supply information. /// Path to power supply information.
pub const BATT_PATH: &'static str = "/sys/class/power_supply"; pub const BATT_PATH: &str = "/sys/class/power_supply";
/// Additional time zones to display (short name, full name). /// Additional time zones to display (short name, full name).
pub const TZS: [(char, &'static str); 2] = [('A', "America/Buenos_Aires"), ('U', "UTC")]; pub const TZS: [(char, &str); 2] = [('A', "America/Buenos_Aires"), ('U', "UTC")];