Skip to content

Commit 5e52ddc

Browse files
clippy
1 parent eae46d5 commit 5e52ddc

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

console_backend/src/tabs/baseline_tab.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl BaselineTab {
149149
/// # Parameters
150150
/// - `mode_string`: The mode string to attempt to prepare data for frontend.
151151
/// - `update_current`: Indicating whether the current solution should be updated by
152-
/// this modes last n/e entry.
152+
/// this modes last n/e entry.
153153
fn _synchronize_plot_data_by_mode(&mut self, mode_string: &str, update_current: bool) {
154154
let mode_idx = match self.mode_strings.iter().position(|x| *x == *mode_string) {
155155
Some(idx) => idx,

console_backend/src/tabs/solution_tab/solution_position_tab.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ impl SolutionPositionTab {
752752
/// # Parameters
753753
/// - `mode_string`: The mode string to attempt to prepare data for frontend.
754754
/// - `update_current`: Indicating whether the current solution should be updated by
755-
/// this modes last lat/lon entry.
755+
/// this modes last lat/lon entry.
756756
fn _synchronize_plot_data_by_mode(&mut self, mode_string: &str, update_current: bool) {
757757
let idx = match self.mode_strings.iter().position(|x| x == mode_string) {
758758
Some(idx) => idx,

swiftnav_console/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ def main(passed_args: Optional[Tuple[str, ...]] = None) -> int:
778778

779779
QLocale.setDefault(QLocale.c())
780780
# Silence webengine context logging.
781-
web_engine_context_log = QLoggingCategory("qt.webenginecontext")
781+
web_engine_context_log = QLoggingCategory("qt.webenginecontext") # type: ignore
782782
web_engine_context_log.setFilterRules("*.info=false")
783783
QCoreApplication.setAttribute(Qt.ApplicationAttribute.AA_ShareOpenGLContexts)
784784
QCoreApplication.setAttribute(Qt.ApplicationAttribute.AA_UseDesktopOpenGL)
@@ -794,7 +794,6 @@ def main(passed_args: Optional[Tuple[str, ...]] = None) -> int:
794794
QQuickStyle.setStyle("Material")
795795
# We specifically *don't* want the RobotoCondensed-Bold.ttf font so we get the right look when bolded.
796796

797-
798797
qmlRegisterType(ConnectionData, "SwiftConsole", 1, 0, "ConnectionData") # type: ignore
799798
qmlRegisterType(AdvancedImuPoints, "SwiftConsole", 1, 0, "AdvancedImuPoints") # type: ignore
800799
qmlRegisterType(AdvancedMagnetometerPoints, "SwiftConsole", 1, 0, "AdvancedMagnetometerPoints") # type: ignore

0 commit comments

Comments
 (0)