Skip to content

Commit

Permalink
chore: Rust 1.75.0 linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Dec 31, 2023
1 parent 14ee3ca commit 70214a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-tauri/src/application_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl ApplicationState {
if sec <= 60 {
String::from("less than 1 minute")
} else {
let minutes = (f64::try_from(sec).unwrap_or_default() / 60.0).ceil();
let minutes = (f64::from(sec) / 60.0).ceil();
format!("{minutes} minutes")
}
}
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::path::PathBuf;

mod models;

pub use models::{settings::ModelSettings, stats::ModelStats};
pub use models::settings::ModelSettings;

use crate::app_error::AppError;
/// Open Sqlite pool connection, and return
Expand Down

0 comments on commit 70214a8

Please sign in to comment.