mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Some more minor cleanups
This commit is contained in:
parent
5edf7bddc6
commit
02a3a9438a
7 changed files with 65 additions and 21 deletions
|
@ -340,8 +340,8 @@ fn main() {
|
|||
expect![[r#"
|
||||
match_ast!
|
||||
{
|
||||
if let Some(it) = ast::TraitDef::cast((container).clone()){}
|
||||
else if let Some(it) = ast::ImplDef::cast((container).clone()){}
|
||||
if let Some(it) = ast::TraitDef::cast(container.clone()){}
|
||||
else if let Some(it) = ast::ImplDef::cast(container.clone()){}
|
||||
else {
|
||||
{
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue