Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
john-michaelburke committed Jul 31, 2024
1 parent eae46d5 commit af46086
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion console_backend/src/tabs/baseline_tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion swiftnav_console/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af46086

Please sign in to comment.