Skip to content

Commit

Permalink
Merge pull request #96 from jonasbb/fix-warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb committed Feb 24, 2024
2 parents 64212a9 + 38ac2bd commit c13ab64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ use crate::error::Error;
#[cfg(feature = "jsonl")]
use crate::error::MtJsonlError;
#[cfg(feature = "file-bz2")]
use bzip2::{self, bufread::BzDecoder, write::BzEncoder};
use bzip2::{bufread::BzDecoder, write::BzEncoder};
#[cfg(feature = "file-gz")]
use flate2::{self, bufread::MultiGzDecoder, write::GzEncoder};
use flate2::{bufread::MultiGzDecoder, write::GzEncoder};
use log::debug;
#[cfg(feature = "jsonl")]
use log::{info, warn};
Expand Down Expand Up @@ -739,7 +739,7 @@ where
// not the success status for future use
ProcessingStatus::Completed => channel_successful_completed = true,
ProcessingStatus::Data(batch) => {
let batch: Vec<Result<T, MtJsonlError>> = Deserializer::from_str(&*batch)
let batch: Vec<Result<T, MtJsonlError>> = Deserializer::from_str(&batch)
.into_iter()
.map(|v| v.map_err(|err| MtJsonlError::ParsingError { source: err }))
.collect();
Expand Down
1 change: 0 additions & 1 deletion src/minmax.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use num_traits::Bounded;
use std::{
fmt::{Display, Formatter, Result as FmtResult},
iter::FromIterator,
str::FromStr,
};

Expand Down

0 comments on commit c13ab64

Please sign in to comment.