We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132d5ff commit e86d451Copy full SHA for e86d451
crates/ide/src/hover.rs
@@ -176,7 +176,7 @@ pub(crate) fn hover(
176
return None;
177
}
178
179
- let rest_pat = token.syntax().parent().and_then(ast::RestPat::cast)?;
+ let rest_pat = token.parent().and_then(ast::RestPat::cast)?;
180
let record_pat_field_list = rest_pat.syntax().parent().and_then(ast::RecordPatFieldList::cast)?;
181
182
let record_pat =
0 commit comments