Drop ignore from doctests

This commit is contained in:
Jonas Schievink 2021-05-27 13:55:31 +02:00
parent fe910c7bc4
commit 196cb65ead

View file

@ -538,20 +538,20 @@ pub struct UseTree {
#[derive(Debug, Clone, Eq, PartialEq)] #[derive(Debug, Clone, Eq, PartialEq)]
pub enum UseTreeKind { pub enum UseTreeKind {
/// ```ignore /// ```
/// use path::to::Item; /// use path::to::Item;
/// use path::to::Item as Renamed; /// use path::to::Item as Renamed;
/// use path::to::Trait as _; /// use path::to::Trait as _;
/// ``` /// ```
Single { path: Interned<ModPath>, alias: Option<ImportAlias> }, Single { path: Interned<ModPath>, alias: Option<ImportAlias> },
/// ```ignore /// ```
/// use *; // (invalid, but can occur in nested tree) /// use *; // (invalid, but can occur in nested tree)
/// use path::*; /// use path::*;
/// ``` /// ```
Glob { path: Option<Interned<ModPath>> }, Glob { path: Option<Interned<ModPath>> },
/// ```ignore /// ```
/// use prefix::{self, Item, ...}; /// use prefix::{self, Item, ...};
/// ``` /// ```
Prefixed { prefix: Option<Interned<ModPath>>, list: Box<[UseTree]> }, Prefixed { prefix: Option<Interned<ModPath>>, list: Box<[UseTree]> },