mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix new Clippy error
Probably introduced in Rust v1.97.0.
This commit is contained in:
@@ -282,7 +282,7 @@ impl PluginName {
|
||||
if is_regex_name(&name) {
|
||||
let non_capturing_name = replace_capturing_groups(&name);
|
||||
|
||||
let regex = case_insensitive_regex(&format!("^{}$", &non_capturing_name))?;
|
||||
let regex = case_insensitive_regex(&format!("^{non_capturing_name}$"))?;
|
||||
|
||||
Ok(Self {
|
||||
string: name,
|
||||
|
||||
Reference in New Issue
Block a user