mirror of
https://github.com/Wojtek242/rwmstatus.git
synced 2024-11-25 00:45:25 +01:00
Remove unnecessary explicit 'static
This commit is contained in:
parent
87b9b4a541
commit
5b27106699
@ -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")];
|
||||||
|
Loading…
Reference in New Issue
Block a user