aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2021-05-27 12:55:31 +0100
committerJonas Schievink <[email protected]>2021-05-27 12:55:31 +0100
commit196cb65ead398f81340de431400103224d7de660 (patch)
treecdd16b7a0a873a22bef3ee6965d59fd8cfafa0c8 /crates
parentfe910c7bc4aac8a33fc1933d64aa260d42a3c4f1 (diff)
Drop `ignore` from doctests
Diffstat (limited to 'crates')
-rw-r--r--crates/hir_def/src/item_tree.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/hir_def/src/item_tree.rs b/crates/hir_def/src/item_tree.rs
index c960f66d6..f84c4cf2b 100644
--- a/crates/hir_def/src/item_tree.rs
+++ b/crates/hir_def/src/item_tree.rs
@@ -538,20 +538,20 @@ pub struct UseTree {
538 538
539#[derive(Debug, Clone, Eq, PartialEq)] 539#[derive(Debug, Clone, Eq, PartialEq)]
540pub enum UseTreeKind { 540pub enum UseTreeKind {
541 /// ```ignore 541 /// ```
542 /// use path::to::Item; 542 /// use path::to::Item;
543 /// use path::to::Item as Renamed; 543 /// use path::to::Item as Renamed;
544 /// use path::to::Trait as _; 544 /// use path::to::Trait as _;
545 /// ``` 545 /// ```
546 Single { path: Interned<ModPath>, alias: Option<ImportAlias> }, 546 Single { path: Interned<ModPath>, alias: Option<ImportAlias> },
547 547
548 /// ```ignore 548 /// ```
549 /// use *; // (invalid, but can occur in nested tree) 549 /// use *; // (invalid, but can occur in nested tree)
550 /// use path::*; 550 /// use path::*;
551 /// ``` 551 /// ```
552 Glob { path: Option<Interned<ModPath>> }, 552 Glob { path: Option<Interned<ModPath>> },
553 553
554 /// ```ignore 554 /// ```
555 /// use prefix::{self, Item, ...}; 555 /// use prefix::{self, Item, ...};
556 /// ``` 556 /// ```
557 Prefixed { prefix: Option<Interned<ModPath>>, list: Box<[UseTree]> }, 557 Prefixed { prefix: Option<Interned<ModPath>>, list: Box<[UseTree]> },