From b138c528eca8cf42f9793b2ab41c3d954c9fa035 Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Wed, 14 May 2025 09:41:26 +0200 Subject: [PATCH] Add doc links to newly added load_callback return err (#3222) --- libafl/src/stages/sync.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libafl/src/stages/sync.rs b/libafl/src/stages/sync.rs index 8c8641358f..ea94295b62 100644 --- a/libafl/src/stages/sync.rs +++ b/libafl/src/stages/sync.rs @@ -58,7 +58,7 @@ impl SyncFromDiskMetadata { } /// A stage that loads testcases from disk to sync with other fuzzers such as AFL++ -/// When syncing, the stage will ignore `Error::InvalidInput` and will skip the file. +/// When syncing, the stage will ignore [`Error::InvalidInput`] and will skip the file. #[derive(Debug)] pub struct SyncFromDiskStage { name: Cow<'static, str>, @@ -172,7 +172,7 @@ where impl SyncFromDiskStage { /// Creates a new [`SyncFromDiskStage`] - /// To skip a file, you can return `Error::invalid_input` in `load_callback` + /// To skip a file, you can return [`Error::invalid_input()`] from the provided `load_callback` #[must_use] pub fn new(sync_dirs: Vec, load_callback: CB, interval: Duration, name: &str) -> Self { Self {