Skip to content

Commit

Permalink
chore(clippy): replace max_value() with MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-yantsen committed Apr 19, 2024
1 parent 0fb3a5a commit 5e7b8ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/xtask/src/get_last_plex_tags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ impl flags::GetLastPlexTags {
tags.sort();

let mut previous_seen_version = SemverOrString::Str("");
let mut next_min_invalid_version =
semver::Version::new(u64::max_value(), u64::max_value(), u64::max_value());
let mut next_min_invalid_version = semver::Version::new(u64::MAX, u64::MAX, u64::MAX);
next_min_invalid_version.pre = semver::Prerelease::new("build.0").unwrap();

let mut ret: Vec<&str> = vec![];
Expand Down

0 comments on commit 5e7b8ff

Please sign in to comment.