Skip to content

Commit 3276183

Browse files
committed
Fix clippy
1 parent 0ef6bab commit 3276183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc/src/mcp/list_dsc_functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fn convert_wildcard_to_regex(pattern: &str) -> String {
2828
.replace(r"\?", ".");
2929

3030
if !pattern.contains('*') && !pattern.contains('?') {
31-
format!("^{}$", regex_pattern)
31+
format!("^{regex_pattern}$")
3232
} else {
3333
regex_pattern
3434
}

0 commit comments

Comments
 (0)