Skip to content

Commit

Permalink
Resolve clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmesamster authored and DmitryAstafyev committed May 6, 2024
1 parent 691d6da commit 2ba39e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/apps/indexer/sources/src/command/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl ProcessSource {
let mut str = a.to_string();
for (i, g) in groups.iter().enumerate() {
let key = format!("==extraction:({i})==");
str = str.replace(&key, g).to_owned();
str.replace(&key, g).clone_into(&mut str);
}
let restored = str.replace("==esc_space==", " ");
OsString::from(tilde(&restored).to_string())
Expand Down

0 comments on commit 2ba39e2

Please sign in to comment.