Skip to content

Commit

Permalink
Bring 'Tracker' into scope for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustworthy committed Feb 4, 2024
1 parent 0edbd83 commit 06d208e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/proto/batch/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#[cfg(doc)]
use crate::Tracker;

use crate::{Error, Job, Producer};
use chrono::{DateTime, Utc};
use derive_builder::Builder;
Expand Down Expand Up @@ -80,7 +83,7 @@ pub use cmd::{CommitBatch, GetBatchStatus, OpenBatch};
/// effectively building a pipeline this way, since the Faktory guarantees that callback jobs will not be queued unless
/// the batch gets committed.
///
/// You can retieve the batch status using a [`Tracker`](struct.Tracker.html):
/// You can retieve the batch status using a [`Tracker`]:
/// ```no_run
/// # use faktory::Error;
/// # use faktory::{Producer, Job, Batch, Tracker, CallbackState};
Expand Down

0 comments on commit 06d208e

Please sign in to comment.