From 277b95d60da9e5c1cce964f8947841d411886406 Mon Sep 17 00:00:00 2001 From: Rasmus Kaj Date: Sun, 17 Nov 2024 20:23:34 +0100 Subject: [PATCH] Minor cleanup. Remove unneccessary parans, that currently make nightly error. --- rsass/src/css/string.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rsass/src/css/string.rs b/rsass/src/css/string.rs index 7a6a1506..2d2dab55 100644 --- a/rsass/src/css/string.rs +++ b/rsass/src/css/string.rs @@ -28,7 +28,7 @@ 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) { @@ -36,12 +36,12 @@ impl CssString { 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 {