Skip to content

Commit

Permalink
Linting?
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Jun 26, 2024
1 parent 48f88ba commit 65ae365
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion psst-gui/src/data/album.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl Album {
pub fn release_year_int(&self) -> usize {
self.release_year().parse::<usize>().unwrap_or_else(|err| {
log::error!("Error parsing release year for {}: {}", self.name, err);
std::usize::MAX
usize::MAX
})
}

Expand Down
4 changes: 2 additions & 2 deletions psst-gui/src/webapi/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ impl WebApi {
appears_on: Vector::new(),
};

let mut last_album_release_year = std::usize::MAX;
let mut last_single_release_year = std::usize::MAX;
let mut last_album_release_year = usize::MAX;
let mut last_single_release_year = usize::MAX;

for album in result {
match album.album_type {
Expand Down

0 comments on commit 65ae365

Please sign in to comment.