Skip to content

Commit

Permalink
Derive Debug for SchemaBuilder (#2254)
Browse files Browse the repository at this point in the history
  • Loading branch information
GodTamIt authored Nov 15, 2023
1 parent 7a2c580 commit 6d9a7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<FieldEntry>,
fields_map: HashMap<String, Field>,
Expand Down

0 comments on commit 6d9a7b7

Please sign in to comment.