Skip to content

Commit

Permalink
fix: clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
threadexio committed Dec 25, 2024
1 parent b575a0e commit 6a08015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quotes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ pub struct Quote<'a> {
quote: &'static BuiltInQuote,
}

impl<'a> Quote<'a> {
impl Quote<'_> {
pub fn lines(&self) -> QuoteLinesIter<'_> {
QuoteLinesIter {
inner: self.quote.text.iter(),
}
}

pub fn author(&self) -> &str {
&self.quote.author
self.quote.author
}
}

Expand Down

0 comments on commit 6a08015

Please sign in to comment.