style: apply rust format + fix clippy warning

This commit is contained in:
Edouard Vanbelle
2026-03-26 09:46:50 +01:00
parent 2357186f91
commit d78b279ec9
6 changed files with 60 additions and 54 deletions
+1 -6
View File
@@ -333,12 +333,7 @@ mod tests {
#[test]
fn test_init_bad_color_1() {
let owner_id = Uuid::new_v4();
let res = Calendar::new(
"Name".to_string(),
owner_id,
None,
Some("foo".to_string()),
);
let res = Calendar::new("Name".to_string(), owner_id, None, Some("foo".to_string()));
assert!(res.is_err());
}