better error message for invalid selector characters
This commit is contained in:
parent
f2bb6097dc
commit
f4efcf0b45
@ -316,7 +316,7 @@ impl Selector {
|
||||
}
|
||||
continue;
|
||||
}
|
||||
_ => todo!(),
|
||||
_ => return Err("expected selector.".into()),
|
||||
});
|
||||
iter.next();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user