mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 05:00:06 +01:00
chore: Make the Document from_raw method private
This commit is contained in:
parent
c5e951be09
commit
94b89c5439
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user