Reformat with trailing comma

This commit is contained in:
Luke Jones
2025-02-14 16:06:20 +13:00
parent 0bdf0474c9
commit 2c006699f2
113 changed files with 791 additions and 792 deletions

View File

@@ -16,14 +16,14 @@ pub mod trait_impls;
pub struct Slash {
hid: Option<Arc<Mutex<HidRaw>>>,
usb: Option<Arc<Mutex<USBRaw>>>,
config: Arc<Mutex<SlashConfig>>
config: Arc<Mutex<SlashConfig>>,
}
impl Slash {
pub fn new(
hid: Option<Arc<Mutex<HidRaw>>>,
usb: Option<Arc<Mutex<USBRaw>>>,
config: Arc<Mutex<SlashConfig>>
config: Arc<Mutex<SlashConfig>>,
) -> Self {
Self { hid, usb, config }
}
@@ -57,7 +57,7 @@ impl Slash {
config.slash_type,
config.enabled,
config.brightness,
config.display_interval
config.display_interval,
);
self.write_bytes(&option_packets).await?;