From b7e0e5dbba3dc13fe0c26f2e72f5d5c9ee8ac650 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Fri, 28 Aug 2026 14:23:10 -0400 Subject: [PATCH] ffi: two `items:` lines left at the indent of the field above them MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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 --- android/ffi/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/ffi/src/lib.rs b/android/ffi/src/lib.rs index a293ad3..5d8e766 100644 --- a/android/ffi/src/lib.rs +++ b/android/ffi/src/lib.rs @@ -670,7 +670,7 @@ mod tests { let created = app .create_note(NoteDraft { 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"); assert_eq!(created.display_title, "milk"); @@ -705,7 +705,7 @@ mod tests { let note = app .create_note(NoteDraft { body: "Packing".to_string(), - items: Some(vec!["socks".to_string()]), + items: Some(vec!["socks".to_string()]), }) .expect("create"); assert_eq!(note.items.len(), 1);