Skip to content

Commit

Permalink
style: Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Dec 12, 2024
1 parent b9fdff5 commit a2fddfa
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 a2fddfa

Please sign in to comment.