From e6476eddcf7685adbe3c61d2f6403fe6e83f513b Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Sun, 16 Aug 2026 12:55:20 +0200 Subject: [PATCH] fix(core): a doc line starting with > read as a markdown blockquote and failed clippy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `--all-targets` clippy treats `/// >24 kHz` as the start of a quote block and then rejects the unmarked lines that continue it. I added that test and gated it on tests and fmt but not clippy, so it would have reached CI red. Reworded rather than escaped — the sentence reads better without the symbol anyway. --- crates/punktfunk-core/src/audio/pcm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/punktfunk-core/src/audio/pcm.rs b/crates/punktfunk-core/src/audio/pcm.rs index fae3fb07..5c8675ac 100644 --- a/crates/punktfunk-core/src/audio/pcm.rs +++ b/crates/punktfunk-core/src/audio/pcm.rs @@ -389,8 +389,8 @@ mod tests { /// the encoder sees it, and that is the entire reason this second plane exists. So the plane /// has to be shown to carry one. /// - /// This is the SOFTWARE half of `design/hi-res-audio.md` §13.2. The full check is "play a - /// >24 kHz tone on the host and confirm it arrives", and its other half — that the host's + /// This is the SOFTWARE half of `design/hi-res-audio.md` §13.2. The full check is "play an + /// ultrasonic tone on the host and confirm it arrives", and its other half — that the host's /// CAPTURE did not silently resample on the way in — cannot be tested here, because that is /// WASAPI autoconvert and PipeWire's resampler, which need a host and an interface. What this /// proves is the part that is ours: once a 30 kHz tone is in the pipeline, the `0xD3` payload