mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 15:27:01 +05:30
fix: address Clippy lints
This commit is contained in:
parent
7918e78d65
commit
2f72e3e496
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ impl Match for Matcher {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Matcher::Exactly { content } => &string == content,
|
Matcher::Exactly { content } => string == content,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -117,7 +117,7 @@ impl Act for Action {
|
||||||
Action::Replace { from, to } => input.replace(from, to),
|
Action::Replace { from, to } => input.replace(from, to),
|
||||||
Action::Prefix { prefix } => format!("{}{}", prefix, input),
|
Action::Prefix { prefix } => format!("{}{}", prefix, input),
|
||||||
Action::Suffix { suffix } => format!("{}{}", input, suffix),
|
Action::Suffix { suffix } => format!("{}{}", input, suffix),
|
||||||
Action::Set { content } => content.to_owned(),
|
Action::Set { content } => content.clone(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue