Skip to content

Commit 7fe41a4

Browse files
committed
fix: clippy
1 parent 833986b commit 7fe41a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/automata/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pub fn build_nfa_from_regex_node<'a>(
127127
RegexpNode::Reference(name) => {
128128
let regexp_node = named_pattern_definitions
129129
.get(name)
130-
.unwrap_or_else(|| panic!("Referenced pattern '{}' not found", name));
130+
.unwrap_or_else(|| panic!("Referenced pattern '{name}' not found"));
131131

132132
let node_nfa @ NFAFragment {
133133
start_state: node_start,

0 commit comments

Comments
 (0)