Skip to content

Commit

Permalink
Avoid running doctest that is expected to panic
Browse files Browse the repository at this point in the history
  • Loading branch information
ebroto committed May 13, 2020
1 parent 064431d commit 671c1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/ranges.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ declare_clippy_lint! {
///
/// **Example:**
///
/// ```rust
/// ```rust,no_run
/// fn main() {
/// (10..=0).for_each(|x| println!("{}", x));
///
Expand Down

0 comments on commit 671c1e3

Please sign in to comment.