ffi: two items: lines left at the indent of the field above them
Desktop (Tauri) / Windows installer (cross-compiled) (push) Successful in 2m56s
Desktop (Tauri) / Tauri desktop (Linux) (push) Successful in 5m24s
Desktop (Tauri) / Update manifest (push) Successful in 5s
Android / Kotlin + Rust (APK) (push) Successful in 7m33s

`cargo fmt --check`. Deleting `color:` from these two NoteDraft literals left
the line after it one level too deep — the sort of thing a formatter exists to
catch and an eye does not.

#3041

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-28 14:23:10 -04:00
co-authored by Claude Opus 5
parent e14d9d340a
commit b7e0e5dbba
+2 -2
View File
@@ -670,7 +670,7 @@ mod tests {
let created = app let created = app
.create_note(NoteDraft { .create_note(NoteDraft {
body: String::new(), body: String::new(),
items: Some(vec!["milk".to_string(), "eggs".to_string()]), items: Some(vec!["milk".to_string(), "eggs".to_string()]),
}) })
.expect("create should succeed"); .expect("create should succeed");
assert_eq!(created.display_title, "milk"); assert_eq!(created.display_title, "milk");
@@ -705,7 +705,7 @@ mod tests {
let note = app let note = app
.create_note(NoteDraft { .create_note(NoteDraft {
body: "Packing".to_string(), body: "Packing".to_string(),
items: Some(vec!["socks".to_string()]), items: Some(vec!["socks".to_string()]),
}) })
.expect("create"); .expect("create");
assert_eq!(note.items.len(), 1); assert_eq!(note.items.len(), 1);