Skip to content

Commit e0628be

Browse files
committed
Ignore doc_markdown clippy false positive
Clippy bug: rust-lang/rust-clippy#7421 error: backticks are unbalanced --> src/lib.rs:128:1 | 128 | / //! Any error type that implements `std::error::Error` or dereferences to `dyn 129 | | //! std::error::Error` will work as a source. 130 | | //! 131 | | //! ```rust 132 | | //! # use std::fmt::{self, Display}; | |______________________________________^ | = note: `-D clippy::doc-markdown` implied by `-D clippy::pedantic` = help: a backtick may be missing a pair = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
1 parent a37b5ab commit e0628be

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,11 @@
185185
//!
186186
//! [`anyhow`]: https://github.com/dtolnay/anyhow
187187
188-
#![allow(clippy::module_name_repetitions)]
188+
#![allow(
189+
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7421
190+
clippy::doc_markdown,
191+
clippy::module_name_repetitions,
192+
)]
189193

190194
mod aserror;
191195
mod display;

0 commit comments

Comments
 (0)