Skip to content

Commit

Permalink
chore: Rust 1.74.0 linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Nov 21, 2023
1 parent 99e9ff2 commit aef9042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src-tauri/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ fn main() {
// Inject BUILD_DATE into cargo envs
let now = SystemTime::now()
.duration_since(SystemTime::UNIX_EPOCH)
.expect("This error shouln't happen")
.unwrap_or_default()
.as_secs();
println!("cargo:rustc-env=BUILD_DATE={now}");
tauri_build::build()
tauri_build::build();
}
1 change: 0 additions & 1 deletion src-tauri/src/db/models/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use sqlx::{types::time::PrimitiveDateTime, FromRow, Pool, Sqlite};
use crate::app_error::AppError;

/// This is on the TODO list
#[derive(FromRow, Debug, Clone, Serialize, Deserialize)]
pub struct ModelStats {
pub date: PrimitiveDateTime,
Expand Down

0 comments on commit aef9042

Please sign in to comment.