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:
Emilio Cobos Álvarez 2022-05-07 04:02:26 +00:00 committed by Martin Robinson
parent 2302d828a5
commit 898cafb5a5
3 changed files with 6 additions and 1 deletions

1
Cargo.lock generated
View file

@ -5050,6 +5050,7 @@ dependencies = [
"derive_more",
"fxhash",
"log",
"new_debug_unreachable",
"phf",
"phf_codegen",
"precomputed-hash",