Skip to content

Commit

Permalink
Clippy auto format
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Dec 11, 2024
1 parent 187770e commit 7128a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commons/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl<'a, L: AsRef<str>> SentenceList<'a, L> {
}
}

impl<'a, L: AsRef<str>> Default for SentenceList<'a, L> {
impl<L: AsRef<str>> Default for SentenceList<'_, L> {
fn default() -> Self {
Self {
list: Default::default(),
Expand All @@ -63,7 +63,7 @@ impl<'a, L: AsRef<str>> Default for SentenceList<'a, L> {
}
}

impl<'a, L: AsRef<str>> Display for SentenceList<'a, L> {
impl<L: AsRef<str>> Display for SentenceList<'_, L> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let SentenceList {
list,
Expand Down

0 comments on commit 7128a03

Please sign in to comment.