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 f9ce2c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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

0 comments on commit f9ce2c3

Please sign in to comment.