Skip to content

Commit

Permalink
Fix doc comment about broken link lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcnunes committed Nov 18, 2024
1 parent 853e785 commit 83b3de7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/doc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ declare_clippy_lint! {
/// /// [example of a bad link](https://
/// /// github.com/rust-lang/rust-clippy/)
/// pub fn do_something() {}
/// ```
///
/// It shouldn't be broken across multiple lines to work:
/// ```no_run
Expand Down

0 comments on commit 83b3de7

Please sign in to comment.