mirror of
https://github.com/servo/servo.git
synced 2025-10-02 01:29:15 +01:00
style: Use debug_unreachable!() in matches_simple_selector
This shrinks the function by avoiding generating rather noisy panic code. Depends on D145486 Differential Revision: https://phabricator.services.mozilla.com/D145487
This commit is contained in:
parent
2302d828a5
commit
898cafb5a5
3 changed files with 6 additions and 1 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -5050,6 +5050,7 @@ dependencies = [
|
|||
"derive_more",
|
||||
"fxhash",
|
||||
"log",
|
||||
"new_debug_unreachable",
|
||||
"phf",
|
||||
"phf_codegen",
|
||||
"precomputed-hash",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue