From 2efe7963961e2a71e617c70d9b468479dd86025b Mon Sep 17 00:00:00 2001 From: Antoine Beyeler Date: Thu, 19 Dec 2024 16:40:16 +0100 Subject: [PATCH] Lints --- crates/viewer/re_component_ui/Cargo.toml | 2 +- crates/viewer/re_component_ui/tests/test_all_components_ui.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/viewer/re_component_ui/Cargo.toml b/crates/viewer/re_component_ui/Cargo.toml index 5dd711547648..42db39072dab 100644 --- a/crates/viewer/re_component_ui/Cargo.toml +++ b/crates/viewer/re_component_ui/Cargo.toml @@ -41,4 +41,4 @@ egui.workspace = true [dev-dependencies] egui_kittest.workspace = true itertools.workspace = true -nohash-hasher.workspace = true \ No newline at end of file +nohash-hasher.workspace = true diff --git a/crates/viewer/re_component_ui/tests/test_all_components_ui.rs b/crates/viewer/re_component_ui/tests/test_all_components_ui.rs index 1d7f6ecc6032..4eb9157787f3 100644 --- a/crates/viewer/re_component_ui/tests/test_all_components_ui.rs +++ b/crates/viewer/re_component_ui/tests/test_all_components_ui.rs @@ -322,11 +322,11 @@ fn check_and_print_results(test_cases: &[TestCase], results: &[Result<(), Snapsh test_case.component_name.short_name(), test_case.label, ), - Err(e) => println!( + Err(err) => println!( "{:>component_name_width$}[{:label_width$}] ERR {}", test_case.component_name.short_name(), test_case.label, - e, + err, ), } }