Skip to content

Commit 522b57d

Browse files
committed
lints
1 parent df8dd4e commit 522b57d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/viewer/re_context_menu/src/actions/collapse_expand_all.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl ContextMenuAction for CollapseExpandAllAction {
136136
| None => (ctx.viewer_context.recording(), CollapseScope::StreamsTree),
137137
};
138138

139-
collapse_expand_instance_path(&ctx.viewer_context, db, instance_path, scope, self.open());
139+
collapse_expand_instance_path(ctx.viewer_context, db, instance_path, scope, self.open());
140140
}
141141
}
142142

crates/viewer/re_context_menu/src/collapse_expand.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn collapse_expand_view(
3434
scope: CollapseScope,
3535
expand: bool,
3636
) {
37-
scope.view(*view_id).set_open(&ctx.egui_ctx, expand);
37+
scope.view(*view_id).set_open(ctx.egui_ctx, expand);
3838

3939
let query_result = ctx.lookup_query_result(*view_id);
4040
let result_tree = &query_result.tree;
@@ -65,7 +65,7 @@ pub fn collapse_expand_data_result(
6565
subtree.visit_children_recursively(|entity_path| {
6666
scope
6767
.data_result(*view_id, entity_path.clone())
68-
.set_open(&ctx.egui_ctx, expand);
68+
.set_open(ctx.egui_ctx, expand);
6969
});
7070
}
7171

@@ -83,6 +83,6 @@ pub fn collapse_expand_instance_path(
8383
subtree.visit_children_recursively(|entity_path| {
8484
scope
8585
.entity(entity_path.clone())
86-
.set_open(&ctx.egui_ctx, expand);
86+
.set_open(ctx.egui_ctx, expand);
8787
});
8888
}

0 commit comments

Comments
 (0)