rename serde module to serde_impl module

needed because of issues with rustfmt
This commit is contained in:
ad hoc 2022-04-04 13:51:50 +02:00
parent 0fd55db21c
commit 30a2711bac
No known key found for this signature in database
GPG Key ID: 4F00A782990CC643
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ use byteorder::{BigEndian, WriteBytesExt};
use serde::Deserializer; use serde::Deserializer;
use serde_json::Value; use serde_json::Value;
use super::serde::DocumentVisitor; use super::serde_impl::DocumentVisitor;
use super::{ByteCounter, DocumentsBatchIndex, DocumentsMetadata, Error}; use super::{ByteCounter, DocumentsBatchIndex, DocumentsMetadata, Error};
use crate::FieldId; use crate::FieldId;

View File

@ -5,15 +5,15 @@ mod builder;
/// The `DocumentBatchBuilder` interface allows to write batches of documents to a writer, that can /// The `DocumentBatchBuilder` interface allows to write batches of documents to a writer, that can
/// later be read by milli using the `DocumentBatchReader` interface. /// later be read by milli using the `DocumentBatchReader` interface.
mod reader; mod reader;
mod serde; mod serde_impl;
use std::fmt::{self, Debug}; use std::fmt::{self, Debug};
use std::io; use std::io;
use ::serde::{Deserialize, Serialize};
use bimap::BiHashMap; use bimap::BiHashMap;
pub use builder::DocumentBatchBuilder; pub use builder::DocumentBatchBuilder;
pub use reader::DocumentBatchReader; pub use reader::DocumentBatchReader;
use serde::{Deserialize, Serialize};
use crate::FieldId; use crate::FieldId;