minor: Simplify

This commit is contained in:
Lukas Wirth 2022-01-02 12:40:46 +01:00
parent 91200e31e3
commit 8fad24d3c2
2 changed files with 10 additions and 14 deletions

View file

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