Skip to content

Commit 196cb65

Browse files
Drop ignore from doctests
1 parent fe910c7 commit 196cb65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/hir_def/src/item_tree.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,20 +538,20 @@ pub struct UseTree {
538538

539539
#[derive(Debug, Clone, Eq, PartialEq)]
540540
pub enum UseTreeKind {
541-
/// ```ignore
541+
/// ```
542542
/// use path::to::Item;
543543
/// use path::to::Item as Renamed;
544544
/// use path::to::Trait as _;
545545
/// ```
546546
Single { path: Interned<ModPath>, alias: Option<ImportAlias> },
547547

548-
/// ```ignore
548+
/// ```
549549
/// use *; // (invalid, but can occur in nested tree)
550550
/// use path::*;
551551
/// ```
552552
Glob { path: Option<Interned<ModPath>> },
553553

554-
/// ```ignore
554+
/// ```
555555
/// use prefix::{self, Item, ...};
556556
/// ```
557557
Prefixed { prefix: Option<Interned<ModPath>>, list: Box<[UseTree]> },

0 commit comments

Comments
 (0)