diff options
Diffstat (limited to 'crates/ide/src/goto_definition.rs')
-rw-r--r-- | crates/ide/src/goto_definition.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ide/src/goto_definition.rs b/crates/ide/src/goto_definition.rs index 227f20943..c20185b16 100644 --- a/crates/ide/src/goto_definition.rs +++ b/crates/ide/src/goto_definition.rs | |||
@@ -111,9 +111,7 @@ fn def_for_doc_comment( | |||
111 | Definition::Field(it) => it.resolve_doc_path(db, link, ns), | 111 | Definition::Field(it) => it.resolve_doc_path(db, link, ns), |
112 | Definition::SelfType(_) | 112 | Definition::SelfType(_) |
113 | | Definition::Local(_) | 113 | | Definition::Local(_) |
114 | | Definition::TypeParam(_) | 114 | | Definition::GenericParam(_) |
115 | | Definition::LifetimeParam(_) | ||
116 | | Definition::ConstParam(_) | ||
117 | | Definition::Label(_) => return None, | 115 | | Definition::Label(_) => return None, |
118 | } | 116 | } |
119 | } | 117 | } |