From af46086727fa858ace7499e1eb6a6fb85a266bf9 Mon Sep 17 00:00:00 2001 From: John Michael Burke Date: Tue, 30 Jul 2024 18:55:02 -0700 Subject: [PATCH] clippy --- console_backend/src/tabs/baseline_tab.rs | 2 +- console_backend/src/tabs/solution_tab/solution_position_tab.rs | 2 +- swiftnav_console/main.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/console_backend/src/tabs/baseline_tab.rs b/console_backend/src/tabs/baseline_tab.rs index 036028e1c..64ce41fa3 100644 --- a/console_backend/src/tabs/baseline_tab.rs +++ b/console_backend/src/tabs/baseline_tab.rs @@ -149,7 +149,7 @@ impl BaselineTab { /// # Parameters /// - `mode_string`: The mode string to attempt to prepare data for frontend. /// - `update_current`: Indicating whether the current solution should be updated by - /// this modes last n/e entry. + /// this modes last n/e entry. fn _synchronize_plot_data_by_mode(&mut self, mode_string: &str, update_current: bool) { let mode_idx = match self.mode_strings.iter().position(|x| *x == *mode_string) { Some(idx) => idx, diff --git a/console_backend/src/tabs/solution_tab/solution_position_tab.rs b/console_backend/src/tabs/solution_tab/solution_position_tab.rs index 3b7f48a5a..5e82afbbd 100644 --- a/console_backend/src/tabs/solution_tab/solution_position_tab.rs +++ b/console_backend/src/tabs/solution_tab/solution_position_tab.rs @@ -752,7 +752,7 @@ impl SolutionPositionTab { /// # Parameters /// - `mode_string`: The mode string to attempt to prepare data for frontend. /// - `update_current`: Indicating whether the current solution should be updated by - /// this modes last lat/lon entry. + /// this modes last lat/lon entry. fn _synchronize_plot_data_by_mode(&mut self, mode_string: &str, update_current: bool) { let idx = match self.mode_strings.iter().position(|x| x == mode_string) { Some(idx) => idx, diff --git a/swiftnav_console/main.py b/swiftnav_console/main.py index e08b695ba..fd65f7651 100644 --- a/swiftnav_console/main.py +++ b/swiftnav_console/main.py @@ -794,7 +794,6 @@ def main(passed_args: Optional[Tuple[str, ...]] = None) -> int: QQuickStyle.setStyle("Material") # We specifically *don't* want the RobotoCondensed-Bold.ttf font so we get the right look when bolded. - qmlRegisterType(ConnectionData, "SwiftConsole", 1, 0, "ConnectionData") # type: ignore qmlRegisterType(AdvancedImuPoints, "SwiftConsole", 1, 0, "AdvancedImuPoints") # type: ignore qmlRegisterType(AdvancedMagnetometerPoints, "SwiftConsole", 1, 0, "AdvancedMagnetometerPoints") # type: ignore