Skip to content

Commit

Permalink
Clippy, again!
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Dec 3, 2024
1 parent 5a9a940 commit e923762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler-cli/src/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down Expand Up @@ -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#"
Expand Down

0 comments on commit e923762

Please sign in to comment.