Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kartva committed Nov 25, 2022
1 parent 91e7624 commit a26aef9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/ide/src/hover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ pub(crate) fn hover(
}

let rest_pat = token.parent().and_then(ast::RestPat::cast)?;
let record_pat_field_list = rest_pat.syntax().parent().and_then(ast::RecordPatFieldList::cast)?;
let record_pat_field_list =
rest_pat.syntax().parent().and_then(ast::RecordPatFieldList::cast)?;

let record_pat =
record_pat_field_list.syntax().parent().and_then(ast::RecordPat::cast)?;
Expand Down

0 comments on commit a26aef9

Please sign in to comment.