Skip to content

Commit

Permalink
pybraidz-chunked-iter: clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Oct 26, 2023
1 parent 4b96a33 commit 93d5eb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct KalmanEstimatesChunker {

impl KalmanEstimatesChunker {
fn new(path: &str, sz: ChunkSize) -> PyResult<Self> {
let archive = zip_or_dir::ZipDirArchive::auto_from_path(&path).map_err(|e| {
let archive = zip_or_dir::ZipDirArchive::auto_from_path(path).map_err(|e| {
PyErr::new::<PyValueError, _>(format!("Could not open file {}: '{}'", path, e))
})?;
// leak to get static lifetime
Expand Down

0 comments on commit 93d5eb3

Please sign in to comment.