mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
chore: Make the Document from_raw method private
This commit is contained in:
parent
c5e951be09
commit
94b89c5439
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue