From b7c08202305ce21544c4ad9dd931ce1b95a832b1 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 26 Jul 2026 17:39:12 -0400 Subject: [PATCH] desktop: rustfmt the blob-store literal in the scheme handler Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01SreJkbxB4gx8pPsu8QbLPi --- desktop/src-tauri/src/sync/blobs.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/desktop/src-tauri/src/sync/blobs.rs b/desktop/src-tauri/src/sync/blobs.rs index c946be0..8a0c8f4 100644 --- a/desktop/src-tauri/src/sync/blobs.rs +++ b/desktop/src-tauri/src/sync/blobs.rs @@ -186,9 +186,7 @@ pub fn serve(path: &str, query: Option<&str>) -> (u16, String, Vec) { // A request before the store was published — nothing to serve yet. return (503, "text/plain".into(), Vec::new()); }; - let store = BlobStore { - root: root.clone(), - }; + let store = BlobStore { root: root.clone() }; // `read` goes through `path`, which rejects anything that isn't a bare sha256 — // so this handler inherits the traversal guard rather than re-implementing it. let Some(bytes) = store.read(requested) else {