Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Sep 8, 2024
1 parent 1ddc3a5 commit 124b548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-io/src/ipc/mmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl<R: MmapBytesReader> IpcReader<R> {
) -> PolarsResult<DataFrame> {
match self.reader.to_file() {
Some(file) => {
let semaphore = MMapSemaphore::new_from_file(&file)?;
let semaphore = MMapSemaphore::new_from_file(file)?;
let metadata =
read::read_file_metadata(&mut std::io::Cursor::new(semaphore.as_ref()))?;

Expand Down

0 comments on commit 124b548

Please sign in to comment.