Skip to content

Commit e8737e3

Browse files
committed
Clippy: Fix doc issue
1 parent 50a5793 commit e8737e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/clippy/clippy_utils/src/source.rs

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ pub trait SpanRangeExt: SpanRange {
142142
map_range(cx.sess().source_map(), self.into_range(), f)
143143
}
144144

145+
#[allow(rustdoc::invalid_rust_codeblocks, reason = "The codeblock is intentionally broken")]
145146
/// Extends the range to include all preceding whitespace characters, unless there
146147
/// are non-whitespace characters left on the same line after `self`.
147148
///

0 commit comments

Comments
 (0)