diff --git a/libafl_cc/Cargo.toml b/libafl_cc/Cargo.toml index 5c89b8c39d..6974aeddcf 100644 --- a/libafl_cc/Cargo.toml +++ b/libafl_cc/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" license = "MIT OR Apache-2.0" keywords = ["fuzzing", "testing", "compiler"] edition = "2021" -rust-version = "1.78" +rust-version = "1.82" categories = [ "development-tools::testing", "emulators", diff --git a/libafl_cc/src/cfg.rs b/libafl_cc/src/cfg.rs index 0551bb8b97..49789f3c5c 100644 --- a/libafl_cc/src/cfg.rs +++ b/libafl_cc/src/cfg.rs @@ -317,7 +317,7 @@ where let new_distance = distance + successor_info.get_weight(); let is_shorter = distances .get(successor) - .map_or(true, |¤t| new_distance < current); + .is_none_or(|¤t| new_distance < current); if is_shorter { distances.insert(*successor, new_distance); diff --git a/libafl_derive/Cargo.toml b/libafl_derive/Cargo.toml index 2cc461b66c..cd2d76a61b 100644 --- a/libafl_derive/Cargo.toml +++ b/libafl_derive/Cargo.toml @@ -9,7 +9,7 @@ readme = "../README.md" license = "MIT OR Apache-2.0" keywords = ["fuzzing", "testing"] edition = "2021" -rust-version = "1.78" +rust-version = "1.82" categories = [ "development-tools::testing", "emulators",