diff --git a/meilisearch-types/src/document_formats.rs b/meilisearch-types/src/document_formats.rs index c67e7ed08..8357690cd 100644 --- a/meilisearch-types/src/document_formats.rs +++ b/meilisearch-types/src/document_formats.rs @@ -1,3 +1,9 @@ +use std::borrow::Borrow; +use std::fmt::{self, Debug, Display}; +use std::fs::File; +use std::io::{self, Seek, Write}; +use std::marker::PhantomData; + use either::Either; use memmap2::MmapOptions; use milli::documents::{DocumentsBatchBuilder, Error}; @@ -5,11 +11,6 @@ use milli::Object; use serde::de::{SeqAccess, Visitor}; use serde::{Deserialize, Deserializer}; use serde_json::error::Category; -use std::borrow::Borrow; -use std::fmt::{self, Debug, Display}; -use std::fs::File; -use std::io::{self, Seek, Write}; -use std::marker::PhantomData; use crate::error::{Code, ErrorCode}; use crate::internal_error;