diff options
Diffstat (limited to 'candle-datasets')
-rw-r--r-- | candle-datasets/src/hub.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-datasets/src/hub.rs b/candle-datasets/src/hub.rs index 53fa8156..c00a788c 100644 --- a/candle-datasets/src/hub.rs +++ b/candle-datasets/src/hub.rs @@ -22,7 +22,7 @@ fn sibling_to_parquet( repo: &ApiRepo, ) -> Result<SerializedFileReader<File>, Error> { let local = repo.get(rfilename)?; - let file = File::open(&local)?; + let file = File::open(local)?; let reader = SerializedFileReader::new(file)?; Ok(reader) } |