diff --git a/src/schema/schema.rs b/src/schema/schema.rs index ed3a60193a..c6bf7b932b 100644 --- a/src/schema/schema.rs +++ b/src/schema/schema.rs @@ -30,7 +30,7 @@ use crate::TantivyError; /// let body_field = schema_builder.add_text_field("body", TEXT); /// let schema = schema_builder.build(); /// ``` -#[derive(Default)] +#[derive(Debug, Default)] pub struct SchemaBuilder { fields: Vec, fields_map: HashMap,