Skip to content

Commit

Permalink
Suppress doc_markdown clippy pedantic lint
Browse files Browse the repository at this point in the history
    error: item in documentation is missing backticks
       --> src/lib.rs:108:57
        |
    108 |     /// "inf", and negative infinity as "-inf" to match std::fmt.
        |                                                         ^^^^^^^^
        |
        = note: `-D clippy::doc-markdown` implied by `-D clippy::pedantic`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
    help: try
        |
    108 |     /// "inf", and negative infinity as "-inf" to match `std::fmt`.
        |                                                         ~~~~~~~~~~
  • Loading branch information
dtolnay committed Dec 12, 2021
1 parent 6e9b1a1 commit 7e4e5cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#![allow(
clippy::cast_lossless,
clippy::cast_possible_truncation,
clippy::doc_markdown,
clippy::if_not_else,
clippy::missing_errors_doc,
clippy::must_use_candidate,
Expand Down

0 comments on commit 7e4e5cf

Please sign in to comment.