summaryrefslogtreecommitdiffstats
path: root/src/fastfield/reader.rs
diff options
context:
space:
mode:
authorPaul Masurel <paul.masurel@gmail.com>2017-12-14 19:25:12 +0900
committerPaul Masurel <paul.masurel@gmail.com>2017-12-14 19:25:12 +0900
commit8b1b389a76ca9837cbb87c77a5be81432990e83f (patch)
treedaf9d23396d0f08054bb7a59ddce8ac7a209d24b /src/fastfield/reader.rs
parent46f3ec87a5e7b81142bd17b6b8afa77b0ab2c479 (diff)
NOBUG Clippy
Diffstat (limited to 'src/fastfield/reader.rs')
-rw-r--r--src/fastfield/reader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastfield/reader.rs b/src/fastfield/reader.rs
index d7544b2..e18c09b 100644
--- a/src/fastfield/reader.rs
+++ b/src/fastfield/reader.rs
@@ -154,7 +154,7 @@ impl From<Vec<u64>> for U64FastFieldReader {
let source = directory.open_read(path).expect("Failed to open the file");
let composite_file =
- CompositeFile::open(source).expect("Failed to read the composite file");
+ CompositeFile::open(&source).expect("Failed to read the composite file");
let field_source = composite_file.open_read(field).expect(
"File component not found",