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

@@ -19,7 +19,7 @@ pub struct HidRaw {
prod_id: String,
_device_bcd: u32,
/// Retaining a handle to the file for the duration of `HidRaw`
file: RefCell<File>
file: RefCell<File>,
}
impl HidRaw {
@@ -66,7 +66,7 @@ impl HidRaw {
.unwrap_or_default()
.to_string_lossy()
.parse()
.unwrap_or_default()
.unwrap_or_default(),
});
}
}
@@ -98,13 +98,13 @@ impl HidRaw {
.unwrap_or_default()
.to_string_lossy()
.parse()
.unwrap_or_default()
.unwrap_or_default(),
});
}
}
}
Err(PlatformError::MissingFunction(
"hidraw dev no dev path".to_string()
"hidraw dev no dev path".to_string(),
))
}