From 6f2ae6625ebc7d4794bdd674ebb73a1f63b57d52 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 20:45:26 +0000 Subject: [PATCH] id: allow test-only unwraps in boards records test modules The note anchor and note projection test modules in boards/records.rs lacked the test-module clippy allow the rest of the crate uses, so clippy-lint failed on main with seven unwrap_used errors. Refs #12665 Co-Authored-By: Claude Opus 5.5 --- pkgs/id/src/boards/records.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/id/src/boards/records.rs b/pkgs/id/src/boards/records.rs index 005510764..eb6f00951 100644 --- a/pkgs/id/src/boards/records.rs +++ b/pkgs/id/src/boards/records.rs @@ -568,6 +568,7 @@ pub struct BoardListing { } #[cfg(test)] +#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)] mod note_anchor_tests { use super::*; @@ -853,6 +854,7 @@ mod note_anchor_tests { } #[cfg(test)] +#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)] mod note_projection_properties { //! Generated coverage for the note embed and reply-anchor projections: //! a resolved passage keeps its section and quote, an orphan keeps