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 {