Skip to content

Commit

Permalink
Minor cleanup.
Browse files Browse the repository at this point in the history
Remove unneccessary parans, that currently make nightly error.
  • Loading branch information
kaj committed Nov 17, 2024
1 parent 7a53164 commit 277b95d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rsass/src/css/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ impl CssString {
match iter.peek() {
Some(' ') if got_num => {
iter.next();
break (None);
break None;
}
Some(&c) => {
if let Some(digit) = c.to_digit(16) {
val = val * 10 + digit;
got_num = true;
iter.next();
} else if !got_num {
break (iter.next());
break iter.next();
} else {
break (None);
break None;
}
}
_ => break (None),
_ => break None,
}
};
if got_num {
Expand Down

0 comments on commit 277b95d

Please sign in to comment.