mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 18:44:56 +00:00
Avoid running doctest that is expected to panic
This commit is contained in:
parent
064431d22f
commit
671c1e34cc
@ -98,7 +98,7 @@ declare_clippy_lint! {
|
||||
///
|
||||
/// **Example:**
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,no_run
|
||||
/// fn main() {
|
||||
/// (10..=0).for_each(|x| println!("{}", x));
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user