mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
clippy::useless_return
This commit is contained in:
parent
75370312fb
commit
c50b4579ec
10 changed files with 15 additions and 15 deletions
|
@ -241,7 +241,7 @@ fn parse_macro_expansion(
|
|||
}
|
||||
};
|
||||
if is_self_replicating(&node, &call_node.value) {
|
||||
return ExpandResult::only_err(err);
|
||||
ExpandResult::only_err(err)
|
||||
} else {
|
||||
ExpandResult { value: Some((parse, Arc::new(rev_token_map))), err: Some(err) }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue