mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
minor: Simplify
This commit is contained in:
parent
91200e31e3
commit
8fad24d3c2
2 changed files with 10 additions and 14 deletions
|
@ -192,7 +192,7 @@ fn expand_repeat(
|
|||
t.delimiter = None;
|
||||
push_subtree(&mut buf, t);
|
||||
|
||||
if let Some(ref sep) = separator {
|
||||
if let Some(sep) = separator {
|
||||
match sep {
|
||||
Separator::Ident(ident) => {
|
||||
has_seps = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue