From 94b89c5439497dfc580f1fd69f23f5902bbe22d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Sun, 3 Feb 2019 11:13:38 +0100 Subject: [PATCH] chore: Make the Document from_raw method private --- src/rank/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);