Skip to content

Commit 415757f

Browse files
committed
feat!(Cargo): update MSRV to 1.82.0
1 parent 9d1b88d commit 415757f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors = ["Samuel Tardieu <sam@rfc1149.net>"]
1111
categories = ["algorithms"]
1212
readme = "README.md"
1313
edition = "2021"
14-
rust-version = "1.81.0"
14+
rust-version = "1.82.0"
1515

1616
[package.metadata.release]
1717
sign-commit = true

src/directed/idastar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ where
154154
path.push(node);
155155
match search(path, cost + extra, bound, successors, heuristic, success) {
156156
found_path @ Path::Found(_, _) => return found_path,
157-
Path::Minimum(m) if !min.is_some_and(|n| n < m) => min = Some(m),
157+
Path::Minimum(m) if min.is_none_or(|n| n >= m) => min = Some(m),
158158
_ => (),
159159
}
160160
path.pop();

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
//! in this context, you can wrap them into compliant types using the
7777
//! [ordered-float](https://crates.io/crates/ordered-float) crate.
7878
//!
79-
//! The minimum supported Rust version (MSRV) is Rust 1.81.0.
79+
//! The minimum supported Rust version (MSRV) is Rust 1.82.0.
8080
//!
8181
//! [A*]: https://en.wikipedia.org/wiki/A*_search_algorithm
8282
//! [BFS]: https://en.wikipedia.org/wiki/Breadth-first_search

0 commit comments

Comments
 (0)