From dd5948ccc2b10bee9dc3bef7595ea72fec366c86 Mon Sep 17 00:00:00 2001 From: Philipp Krones Date: Wed, 23 Apr 2025 10:51:22 +0200 Subject: Clippy: Fix doc issue --- clippy_utils/src/source.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/clippy_utils/src/source.rs b/clippy_utils/src/source.rs index 3aa72cf5eaf..8645d5730fe 100644 --- a/clippy_utils/src/source.rs +++ b/clippy_utils/src/source.rs @@ -142,6 +142,7 @@ pub trait SpanRangeExt: SpanRange { map_range(cx.sess().source_map(), self.into_range(), f) } + #[allow(rustdoc::invalid_rust_codeblocks, reason = "The codeblock is intentionally broken")] /// Extends the range to include all preceding whitespace characters, unless there /// are non-whitespace characters left on the same line after `self`. /// -- cgit 1.4.1-3-g733a5