diff options
author | Laurentiu Nicola <lnicola@dend.ro> | 2017-05-16 19:40:54 +0300 |
---|---|---|
committer | Paul Masurel <paul.masurel@gmail.com> | 2017-05-17 15:50:07 +0900 |
commit | 6ae34d2a77e2891b67dc4a7490d194a0524023ff (patch) | |
tree | 74045bce060ed5ff443a2942214ca5b9cc2df85d /src/indexer | |
parent | 1af1f7e0d14aa712e5813a6882dffa159a3c3357 (diff) |
clippy: fix toplevel_ref_arg warnings
Diffstat (limited to 'src/indexer')
-rw-r--r-- | src/indexer/segment_updater.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexer/segment_updater.rs b/src/indexer/segment_updater.rs index 6c45486..1718840 100644 --- a/src/indexer/segment_updater.rs +++ b/src/indexer/segment_updater.rs @@ -101,7 +101,7 @@ fn perform_merge(segment_ids: &[SegmentId], // first we need to apply deletes to our segment. info!("Start merge: {:?}", segment_ids); - let ref index = segment_updater.0.index; + let index = &segment_updater.0.index; let schema = index.schema(); let mut segment_entries = vec![]; |