diff --git a/crates/viewer/re_blueprint_tree/Cargo.toml b/crates/viewer/re_blueprint_tree/Cargo.toml index f52ae4b1fb89..7e97d4332761 100644 --- a/crates/viewer/re_blueprint_tree/Cargo.toml +++ b/crates/viewer/re_blueprint_tree/Cargo.toml @@ -45,7 +45,9 @@ smallvec.workspace = true [dev-dependencies] # Trick to reliably auto-enable the testing feature when running tests # see: https://github.com/rust-lang/cargo/issues/2911#issuecomment-1483256987 -re_blueprint_tree = { path = ".", default-features = false, features = ["testing"] } +re_blueprint_tree = { path = ".", default-features = false, features = [ + "testing", +] } re_chunk_store.workspace = true re_view_spatial.workspace = true @@ -54,4 +56,3 @@ re_viewport_blueprint = { workspace = true, features = ["testing"] } egui_kittest.workspace = true insta = { workspace = true, features = ["redactions", "yaml"] } - diff --git a/crates/viewer/re_blueprint_tree/src/data.rs b/crates/viewer/re_blueprint_tree/src/data.rs index 5438ef91f85b..d4322c7018a0 100644 --- a/crates/viewer/re_blueprint_tree/src/data.rs +++ b/crates/viewer/re_blueprint_tree/src/data.rs @@ -315,7 +315,7 @@ impl DataResultData { // // TODO(ab): we're currently only matching on the last part of `hierarchy`. Technically, - // this means that `herarchy` is not needed at all. It will however be needed when we match + // this means that `hierarchy` is not needed at all. It will however be needed when we match // across multiple parts, so it's good to have it already. let (entity_part_matches, highlight_sections) = if filter_matcher.matches_everything() { // fast path (filter is inactive) diff --git a/crates/viewer/re_blueprint_tree/tests/view_structure_test.rs b/crates/viewer/re_blueprint_tree/tests/view_structure_test.rs index 247fd0f6ba10..3ae257a85b1a 100644 --- a/crates/viewer/re_blueprint_tree/tests/view_structure_test.rs +++ b/crates/viewer/re_blueprint_tree/tests/view_structure_test.rs @@ -22,7 +22,7 @@ const VIEW_ID: &str = "this-is-a-view-id"; #[derive(Debug, Clone, Copy)] enum RecordingKind { /// No entities are logged. - Emtpy, + Empty, /// Some placeholder entity hierarchy is logged. Regular, @@ -43,7 +43,7 @@ fn base_test_cases() -> impl Iterator { name: "empty", origin: EntityPath::root(), entity_filter: "$origin/**", - recording_kind: RecordingKind::Emtpy, + recording_kind: RecordingKind::Empty, }, TestCase { name: "root_origin", @@ -96,7 +96,7 @@ fn test_context(test_case: &TestCase) -> TestContext { test_context.register_view_class::(); match test_case.recording_kind { - RecordingKind::Emtpy => {} + RecordingKind::Empty => {} RecordingKind::Regular => { test_context.log_entity("/path/to/left".into(), add_point_to_chunk_builder); test_context.log_entity("/path/to/right".into(), add_point_to_chunk_builder);