Avoid running doctest that is expected to panic
This commit is contained in:
parent
064431d22f
commit
671c1e34cc
@ -98,7 +98,7 @@
|
||||
///
|
||||
/// **Example:**
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,no_run
|
||||
/// fn main() {
|
||||
/// (10..=0).for_each(|x| println!("{}", x));
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user