fix formatting

This commit is contained in:
Kartavya Vashishtha 2022-11-25 12:22:06 +05:30
parent 91e7624de0
commit a26aef9055
No known key found for this signature in database
GPG key ID: A50012C2324E5DF0

View file

@ -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)?;