Skip to content

style(recording): rustfmt audio saver files to satisfy fmt gate - #6

Merged
karan68 merged 1 commit into
devtestfrom
fix/rustfmt-audio-save
Jul 20, 2026
Merged

style(recording): rustfmt audio saver files to satisfy fmt gate#6
karan68 merged 1 commit into
devtestfrom
fix/rustfmt-audio-save

Conversation

@karan68

@karan68 karan68 commented Jul 19, 2026

Copy link
Copy Markdown
Owner

What

Formatting-only follow-up to PR #5.

The ci / rust (ubuntu-22.04) job runs rustfmt --edition 2021 --check on changed Rust files (the macOS/Windows Rust jobs do not). Two edits from PR #5 were not rustfmt-canonical and failed that gate:

  • frontend/src-tauri/src/audio/incremental_saver.rs:488 — the concat_escape_handles_single_quotes test's assert_eq!
  • frontend/src-tauri/src/audio/recording_saver.rs:450 — a warn! call

Change

Ran rustfmt on those two files. No logic change (whitespace/reflow only); the crate compiles and the saver unit tests are unaffected.

Verification

  • rustfmt --edition 2021 --check on all previously-changed audio files now passes (exit 0).
  • cargo test -p briefli --lib incremental_saver compiles cleanly.

The ubuntu CI job runs rustfmt --edition 2021 --check on changed Rust files. Two edits from the prior fix (the concat-escape test assert and a warn! call) were not rustfmt-canonical. Reformatted; no logic change.
@karan68
karan68 merged commit 270a005 into devtest Jul 20, 2026
8 checks passed
@karan68
karan68 deleted the fix/rustfmt-audio-save branch July 20, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant