diff options
Diffstat (limited to 'crates/ra_syntax/src/ast.rs')
-rw-r--r-- | crates/ra_syntax/src/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast.rs b/crates/ra_syntax/src/ast.rs index 3aaa5edda..7f986d322 100644 --- a/crates/ra_syntax/src/ast.rs +++ b/crates/ra_syntax/src/ast.rs | |||
@@ -279,7 +279,7 @@ impl<'a> NameRef<'a> { | |||
279 | } | 279 | } |
280 | } | 280 | } |
281 | 281 | ||
282 | impl<'a> ImplItem<'a> { | 282 | impl<'a> ImplBlock<'a> { |
283 | pub fn target_type(self) -> Option<TypeRef<'a>> { | 283 | pub fn target_type(self) -> Option<TypeRef<'a>> { |
284 | match self.target() { | 284 | match self.target() { |
285 | (Some(t), None) | (_, Some(t)) => Some(t), | 285 | (Some(t), None) | (_, Some(t)) => Some(t), |