diff --git a/src/rank/mod.rs b/src/rank/mod.rs index 2c5a4bfc3..3b31c0794 100644 --- a/src/rank/mod.rs +++ b/src/rank/mod.rs @@ -18,7 +18,7 @@ pub struct Document { } impl Document { - pub fn from_raw(raw: &RawDocument) -> Document { + fn from_raw(raw: &RawDocument) -> Document { let len = raw.matches.range.len(); let mut matches = Vec::with_capacity(len);