mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Reformat with trailing comma
This commit is contained in:
@@ -16,7 +16,7 @@ use crate::{attr_u8, to_device};
|
||||
pub struct AsusPower {
|
||||
mains: PathBuf,
|
||||
battery: PathBuf,
|
||||
usb: Option<PathBuf>
|
||||
usb: Option<PathBuf>,
|
||||
}
|
||||
|
||||
impl AsusPower {
|
||||
@@ -97,12 +97,12 @@ impl AsusPower {
|
||||
return Ok(Self {
|
||||
mains,
|
||||
battery,
|
||||
usb
|
||||
usb,
|
||||
});
|
||||
}
|
||||
|
||||
Err(PlatformError::MissingFunction(
|
||||
"Did not find a battery".to_owned()
|
||||
"Did not find a battery".to_owned(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user