From 4bee9a90399c157227ecbfe56d345c6564ec9786 Mon Sep 17 00:00:00 2001 From: lenawanel <115283664+lenawanel@users.noreply.github.com> Date: Thu, 10 Aug 2023 14:23:19 +0200 Subject: [PATCH] Update documentation of `PowerQueueScheduler::on_add` (#1409) this fixes https://github.com/AFLplusplus/LibAFL/issues/1373 --- libafl/src/schedulers/powersched.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libafl/src/schedulers/powersched.rs b/libafl/src/schedulers/powersched.rs index ece9679148..57e6bd90e4 100644 --- a/libafl/src/schedulers/powersched.rs +++ b/libafl/src/schedulers/powersched.rs @@ -252,7 +252,7 @@ where S: HasCorpus + HasMetadata + HasTestcase, O: MapObserver, { - /// Add an entry to the corpus and return its index + /// Add an entry to the corpus fn on_add(&mut self, state: &mut Self::State, idx: CorpusId) -> Result<(), Error> { let current_idx = *state.corpus().current();