Skip to content

Commit

Permalink
feat!(Cargo): update MSRV to 1.82.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Nov 23, 2024
1 parent 30860ec commit 001d64b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors = ["Samuel Tardieu <[email protected]>"]
categories = ["algorithms"]
readme = "README.md"
edition = "2021"
rust-version = "1.81.0"
rust-version = "1.82.0"

[package.metadata.release]
sign-commit = true
Expand Down
2 changes: 1 addition & 1 deletion src/directed/idastar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ where
path.push(node);
match search(path, cost + extra, bound, successors, heuristic, success) {
found_path @ Path::Found(_, _) => return found_path,
Path::Minimum(m) if !min.is_some_and(|n| n < m) => min = Some(m),
Path::Minimum(m) if min.is_none_or(|n| n >= m) => min = Some(m),
_ => (),
}
path.pop();
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
//! in this context, you can wrap them into compliant types using the
//! [ordered-float](https://crates.io/crates/ordered-float) crate.
//!
//! The minimum supported Rust version (MSRV) is Rust 1.81.0.
//! The minimum supported Rust version (MSRV) is Rust 1.82.0.
//!
//! [A*]: https://en.wikipedia.org/wiki/A*_search_algorithm
//! [BFS]: https://en.wikipedia.org/wiki/Breadth-first_search
Expand Down

0 comments on commit 001d64b

Please sign in to comment.