Skip to content

Commit

Permalink
(chore) clippy nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaezp committed Jul 25, 2024
1 parent eab0fe2 commit 6bf5b65
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
1 change: 0 additions & 1 deletion src/aggregation/queriable_collections/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub mod queriable_indexed_points;
pub mod queriable_traces;
pub use queriable_indexed_points::QueriableIndexedPoints;
pub use queriable_traces::QueriableTraces;
1 change: 0 additions & 1 deletion src/aggregation/queriable_collections/queriable_traces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use log::info;
use rayon::prelude::*;

use crate::aggregation::tracing::BaseTrace;
pub use crate::aggregation::tracing::TimeTimsPeak;
pub use crate::space::space_generics::{
AsAggregableAtIndex,
AsNDPointsAtIndex,
Expand Down
7 changes: 2 additions & 5 deletions src/ms/frames/frame_slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,8 @@ impl<'a> FrameSlice<'a> {
tolerance,
);

match tmp {
Ok(Some(range_offset)) => {
ranges.ranges.push(range_offset);
},
_ => (),
if let Ok(Some(range_offset)) = tmp {
ranges.ranges.push(range_offset);
}
}

Expand Down
10 changes: 1 addition & 9 deletions src/ms/frames/frames.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
use serde::Serialize;
pub use timsrust::{
ConvertableIndex,
FileReader,
Frame,
Frame2RtConverter,
FrameType,
Scan2ImConverter,
Tof2MzConverter,
};
pub use timsrust::FrameType;

use crate::space::space_generics::HasIntensity;

Expand Down

0 comments on commit 6bf5b65

Please sign in to comment.