This commit is contained in:
Dongjia "toka" Zhang 2024-06-14 14:16:31 +02:00 committed by GitHub
parent 18a25d3b3d
commit c3930b39fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 6 deletions

View File

@ -30,7 +30,8 @@ Welcome to `LibAFL`
clippy::ptr_cast_constness,
clippy::unsafe_derive_deserialize,
clippy::similar_names,
clippy::too_many_lines
clippy::too_many_lines,
clippy::into_iter_without_iter, // broken
)]
#![cfg_attr(not(test), warn(
missing_debug_implementations,

View File

@ -232,10 +232,7 @@ where
}
/// Cycles the strategy of the scheduler; tries to mimic AFL++'s cycling formula
fn cycle_schedule(
&mut self,
metadata: &mut SchedulerMetadata,
) -> Result<PowerSchedule, Error> {
fn cycle_schedule(&mut self, metadata: &mut SchedulerMetadata) -> Result<PowerSchedule, Error> {
let next_strat = match metadata.strat().ok_or(Error::illegal_argument(
"No strategy specified when initializing scheduler; cannot cycle!",
))? {

View File

@ -16,7 +16,8 @@
clippy::missing_panics_doc,
clippy::missing_docs_in_private_items,
clippy::module_name_repetitions,
clippy::pub_underscore_fields
clippy::pub_underscore_fields,
clippy::into_iter_without_iter, // broken
)]
#![cfg_attr(not(test), warn(
missing_debug_implementations,