Avoid running doctest that is expected to panic

This commit is contained in:
Eduardo Broto 2020-05-13 21:07:13 +02:00
parent 064431d22f
commit 671c1e34cc

View File

@ -98,7 +98,7 @@
///
/// **Example:**
///
/// ```rust
/// ```rust,no_run
/// fn main() {
/// (10..=0).for_each(|x| println!("{}", x));
///