Skip to content

Commit

Permalink
Merge pull request #847 from epage/clippy
Browse files Browse the repository at this point in the history
style: Make clippy happy
  • Loading branch information
epage authored Dec 12, 2024
2 parents b9fdff5 + a2fddfa commit e60409a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ops/replace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub struct Template<'a> {
pub tag_name: Option<&'a str>,
}

impl<'a> Template<'a> {
impl Template<'_> {
pub fn render(&self, input: &str) -> String {
const PREV_VERSION: &str = "{{prev_version}}";
const PREV_METADATA: &str = "{{prev_metadata}}";
Expand Down

0 comments on commit e60409a

Please sign in to comment.