summaryrefslogtreecommitdiffstats
path: root/src/docset.rs
diff options
context:
space:
mode:
authorPaul Masurel <paul.masurel@gmail.com>2019-04-24 12:31:32 +0900
committerGitHub <noreply@github.com>2019-04-24 12:31:32 +0900
commitb7c2d0de97583f06b65d20af57ff04bb3217876e (patch)
tree9c7ecf25bdf1734c67119d88edf8eb29268fe7b3 /src/docset.rs
parenta228825462ab9b224c86047f964279b93d8d6038 (diff)
Clippy2 (#534)
* Clippy comments Clippy complaints that about the cast of &[u32] to a *const __m128i, because of the lack of alignment constraints. This commit passes the OutputBuffer object (which enforces proper alignment) instead of `&[u32]`. * Clippy. Block alignment * Code simplification * Added comment. Code simplification * Removed the extraneous freq block len hack.
Diffstat (limited to 'src/docset.rs')
-rw-r--r--src/docset.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docset.rs b/src/docset.rs
index acd47be..5d6b6f6 100644
--- a/src/docset.rs
+++ b/src/docset.rs
@@ -1,9 +1,9 @@
use common::BitSet;
+use fastfield::DeleteBitSet;
use std::borrow::Borrow;
use std::borrow::BorrowMut;
use std::cmp::Ordering;
use DocId;
-use fastfield::DeleteBitSet;
/// Expresses the outcome of a call to `DocSet`'s `.skip_next(...)`.
#[derive(PartialEq, Eq, Debug)]