We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833986b commit 7fe41a4Copy full SHA for 7fe41a4
crates/automata/src/lib.rs
@@ -127,7 +127,7 @@ pub fn build_nfa_from_regex_node<'a>(
127
RegexpNode::Reference(name) => {
128
let regexp_node = named_pattern_definitions
129
.get(name)
130
- .unwrap_or_else(|| panic!("Referenced pattern '{}' not found", name));
+ .unwrap_or_else(|| panic!("Referenced pattern '{name}' not found"));
131
132
let node_nfa @ NFAFragment {
133
start_state: node_start,
0 commit comments