Skip to content

Commit

Permalink
Merge pull request #764 from gwenn/clippy
Browse files Browse the repository at this point in the history
Fix clippy warnings
  • Loading branch information
gwenn committed Feb 24, 2024
2 parents 3284f43 + a55b343 commit 542a191
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ use std::collections::VecDeque;
use std::fs::{File, OpenOptions};
#[cfg(feature = "with-file-history")]
use std::io::SeekFrom;
#[cfg(feature = "with-file-history")]
use std::iter::DoubleEndedIterator;
use std::ops::Index;
use std::path::Path;
#[cfg(feature = "with-file-history")]
Expand Down
2 changes: 1 addition & 1 deletion src/layout.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::cmp::{Ord, Ordering, PartialOrd};
use std::cmp::Ordering;

#[derive(Copy, Clone, Debug, Default, PartialEq, Eq)]
pub struct Position {
Expand Down
1 change: 0 additions & 1 deletion src/tty/test.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//! Tests specific definitions
use std::iter::IntoIterator;
use std::slice::Iter;
use std::vec::IntoIter;

Expand Down

0 comments on commit 542a191

Please sign in to comment.