Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Aug 22, 2023
1 parent 75cff57 commit 4652c76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/adapter/termion/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ where
U: Eq + PartialEq + Clone + PartialOrd + Send,
{
pub fn new(_interval: Duration) -> Self {
Self {
ghost: PhantomData::default(),
}
Self { ghost: PhantomData }
}
}

Expand Down
4 changes: 1 addition & 3 deletions src/mock/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ pub struct MockPoll<U: Eq + PartialEq + Clone + PartialOrd + Send> {

impl<U: Eq + PartialEq + Clone + PartialOrd + Send> Default for MockPoll<U> {
fn default() -> Self {
Self {
ghost: PhantomData::default(),
}
Self { ghost: PhantomData }
}
}

Expand Down

0 comments on commit 4652c76

Please sign in to comment.