mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
fix formatting
and remove unnecessary check
This commit is contained in:
parent
a778203db9
commit
8b17681058
2 changed files with 7 additions and 5 deletions
|
@ -268,8 +268,7 @@ fn hover_type_fallback(
|
|||
}
|
||||
};
|
||||
|
||||
let res =
|
||||
render::type_info(sema, config, &expr_or_pat)
|
||||
let res = render::type_info(sema, config, &expr_or_pat)
|
||||
.or_else(|| render::struct_rest_pat(sema, config, &expr_or_pat))?;
|
||||
|
||||
let range = sema
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue