remove or pattern todos
clippy now has a lint for them
This commit is contained in:
parent
a823ae7811
commit
c52a0c7dd9
@ -287,7 +287,6 @@ impl<'a> Parser<'a> {
|
|||||||
if first.kind.is_ascii_hexdigit() {
|
if first.kind.is_ascii_hexdigit() {
|
||||||
let mut value = 0;
|
let mut value = 0;
|
||||||
for _ in 0..6 {
|
for _ in 0..6 {
|
||||||
// todo: or patterns
|
|
||||||
let next = match self.toks.peek() {
|
let next = match self.toks.peek() {
|
||||||
Some(c) => c,
|
Some(c) => c,
|
||||||
None => break,
|
None => break,
|
||||||
|
@ -131,7 +131,6 @@ impl<'a, 'b> SelectorParser<'a, 'b> {
|
|||||||
fn parse_complex_selector(&mut self, line_break: bool) -> SassResult<ComplexSelector> {
|
fn parse_complex_selector(&mut self, line_break: bool) -> SassResult<ComplexSelector> {
|
||||||
let mut components = Vec::new();
|
let mut components = Vec::new();
|
||||||
|
|
||||||
// todo: or patterns
|
|
||||||
loop {
|
loop {
|
||||||
self.parser.whitespace();
|
self.parser.whitespace();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user