From c35e7fd58961d5b90cc31d26723265478d94029e Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 8 Oct 2026 14:23:57 -0400 Subject: [PATCH] cargo fmt: three chains rustfmt splits Formatting only. portable::instant (from F5), and the ffi's link and unlink (F2/F3), were laid out by hand without a toolchain; rustfmt splits each chain. Co-Authored-By: Claude Opus 5.5 --- android/ffi/src/lib.rs | 8 ++++++-- core/src/local/portable.rs | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/android/ffi/src/lib.rs b/android/ffi/src/lib.rs index a7b5ab9..151e6f2 100644 --- a/android/ffi/src/lib.rs +++ b/android/ffi/src/lib.rs @@ -533,7 +533,9 @@ impl Inkwell { Err(CoreError::NotLinked) => None, Err(e) => return Err(e), }; - let revoked = link::unlink(&self.db, held).await.map_err(CoreError::store)?; + let revoked = link::unlink(&self.db, held) + .await + .map_err(CoreError::store)?; Ok(revoked.into()) } @@ -739,7 +741,9 @@ impl Inkwell { url: &str, credential: link::Credential<'_>, ) -> Result { - let granted = link::authenticate(url, credential).await.map_err(CoreError::network)?; + let granted = link::authenticate(url, credential) + .await + .map_err(CoreError::network)?; self.store_link(&granted.base_url, &granted.token, granted.retention_days)?; Ok(granted.identity.into()) } diff --git a/core/src/local/portable.rs b/core/src/local/portable.rs index 7d3f744..5e41756 100644 --- a/core/src/local/portable.rs +++ b/core/src/local/portable.rs @@ -559,7 +559,9 @@ fn strings(v: Option<&Value>) -> Vec { /// Any RFC 3339 instant, in the store's own form (UTC, milliseconds, `Z`). Anything /// else is treated as absent, as the server's `parse_dt` does. fn instant(raw: &str) -> Option { - DateTime::parse_from_rfc3339(raw).ok().map(|t| iso(t.with_timezone(&Utc))) + DateTime::parse_from_rfc3339(raw) + .ok() + .map(|t| iso(t.with_timezone(&Utc))) } /// Keep's timestamps: integer microseconds since the epoch.