Skip to content

Commit

Permalink
Minor renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton committed Jan 7, 2021
1 parent caf2a38 commit 203b025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/store/index/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ mod tests {
}

#[test]
fn test_merge_store_with_stacking() -> crate::Result<()> {
fn test_merge_store_with_stacking_reproducing_issue969() -> crate::Result<()> {
let mut schema_builder = SchemaBuilder::default();
let text = schema_builder.add_text_field("text", STORED | STRING);
let body = schema_builder.add_text_field("body", STORED);
Expand Down
3 changes: 1 addition & 2 deletions src/store/index/skip_index_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,13 @@ impl LayerBuilder {
}
}

#[derive(Default)]
pub struct SkipIndexBuilder {
layers: Vec<LayerBuilder>,
}

impl SkipIndexBuilder {
pub fn new() -> SkipIndexBuilder {
Self::default()
SkipIndexBuilder { layers: Vec::new() }
}

fn get_layer(&mut self, layer_id: usize) -> &mut LayerBuilder {
Expand Down

0 comments on commit 203b025

Please sign in to comment.