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,7 +16,7 @@ pub enum ProfileError {
/// (pwm/temp, prev, next)
ParseFanCurvePrevHigher(&'static str, u8, u8),
ParseFanCurvePercentOver100(u8),
NotEnoughPoints // Zbus(zbus::Error),
NotEnoughPoints, // Zbus(zbus::Error),
}
impl fmt::Display for ProfileError {
@@ -60,7 +60,7 @@ impl From<ProfileError> for FdoErr {
error!("ProfileError: got: {error}");
match error {
ProfileError::NotSupported => FdoErr::NotSupported("".to_owned()),
_ => FdoErr::Failed(format!("Failed with {error}"))
_ => FdoErr::Failed(format!("Failed with {error}")),
}
}
}