diff --git a/compiler-cli/src/publish.rs b/compiler-cli/src/publish.rs index c964117c0f9..962abe1e528 100644 --- a/compiler-cli/src/publish.rs +++ b/compiler-cli/src/publish.rs @@ -548,7 +548,7 @@ pub struct ReleaseMetadata<'a> { // extra: (kvlist(string => kvlist(...))) (optional) } -impl<'a> ReleaseMetadata<'a> { +impl ReleaseMetadata<'_> { pub fn as_erlang(&self) -> String { fn link(link: &(&str, http::Uri)) -> String { format!( @@ -605,7 +605,7 @@ struct ReleaseRequirement<'a> { // Support alternate repositories at a later date. // repository: String, } -impl<'a> ReleaseRequirement<'a> { +impl ReleaseRequirement<'_> { pub fn as_erlang(&self) -> String { format!( r#"