Skip to content

Commit

Permalink
Fix some clippy 1.83 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpallant committed Nov 29, 2024
1 parent 27761e0 commit 64fba75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ struct PromptIter<'a, I, T> {
state: PromptIterState,
}

impl<'a, I, T> Clone for PromptIter<'a, I, T> {
impl<I, T> Clone for PromptIter<'_, I, T> {
fn clone(&self) -> Self {
Self {
menu_mgr: self.menu_mgr,
Expand Down Expand Up @@ -380,7 +380,7 @@ where
}
}

impl<'a, I, T, B> Runner<'a, I, T, B>
impl<I, T, B> Runner<'_, I, T, B>
where
I: embedded_io::Write,
B: AsMut<[u8]> + ?Sized,
Expand Down Expand Up @@ -456,7 +456,7 @@ where
}
}

impl<'a, I, T> InnerRunner<'a, I, T>
impl<I, T> InnerRunner<'_, I, T>
where
I: embedded_io::Write,
{
Expand Down

0 comments on commit 64fba75

Please sign in to comment.