diff --git a/meilidb-core/src/lib.rs b/meilidb-core/src/lib.rs index 6d527e381..783740b1b 100644 --- a/meilidb-core/src/lib.rs +++ b/meilidb-core/src/lib.rs @@ -4,8 +4,6 @@ mod automaton; mod query_builder; mod distinct_map; -pub mod write_to_bytes; - use std::sync::Arc; use serde::{Serialize, Deserialize}; diff --git a/meilidb-core/src/write_to_bytes.rs b/meilidb-core/src/write_to_bytes.rs deleted file mode 100644 index 4837eb6a3..000000000 --- a/meilidb-core/src/write_to_bytes.rs +++ /dev/null @@ -1,9 +0,0 @@ -pub trait WriteToBytes { - fn write_to_bytes(&self, bytes: &mut Vec); - - fn into_bytes(&self) -> Vec { - let mut bytes = Vec::new(); - self.write_to_bytes(&mut bytes); - bytes - } -}