Skip to content

Commit

Permalink
Ignore doc_markdown clippy false positive
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dtolnay committed Jul 3, 2021
1 parent a37b5ab commit e0628be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@
//!
//! [`anyhow`]: https://github.com/dtolnay/anyhow
#![allow(clippy::module_name_repetitions)]
#![allow(
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7421
clippy::doc_markdown,
clippy::module_name_repetitions,
)]

mod aserror;
mod display;
Expand Down

0 comments on commit e0628be

Please sign in to comment.