Skip to content

Commit c5f5fde

Browse files
committed
Fix rustdoc macro links
1 parent 078afe6 commit c5f5fde

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

quickwit/quickwit-metrics/src/counter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ macro_rules! counter {
324324
/// A lazily-initialized [`Counter`].
325325
///
326326
/// The counter is registered with the recorder on first access.
327-
/// See [`lazy_counter!`] for the recommended way to construct this type.
327+
/// See [`lazy_counter!`][macro@crate::lazy_counter] for the recommended way to construct this type.
328328
pub type LazyCounter = LazyLock<Counter>;
329329

330330
/// Wraps a [`counter!`] invocation in a [`LazyCounter`].

quickwit/quickwit-metrics/src/gauge.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ macro_rules! gauge {
395395
/// A lazily-initialized [`Gauge`].
396396
///
397397
/// The gauge is registered with the recorder on first access.
398-
/// See [`lazy_gauge!`] for the recommended way to construct this type.
398+
/// See [`lazy_gauge!`][macro@crate::lazy_gauge] for the recommended way to construct this type.
399399
pub type LazyGauge = LazyLock<Gauge>;
400400

401401
/// Wraps a [`gauge!`] invocation in a [`LazyGauge`].

quickwit/quickwit-metrics/src/histogram.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ macro_rules! histogram {
336336
/// A lazily-initialized [`Histogram`].
337337
///
338338
/// The histogram is registered with the recorder on first access.
339-
/// See [`lazy_histogram!`] for the recommended way to construct this type.
339+
/// See [`lazy_histogram!`][macro@crate::lazy_histogram] for the recommended way to construct this
340+
/// type.
340341
pub type LazyHistogram = LazyLock<Histogram>;
341342

342343
/// Wraps a [`histogram!`] invocation in a [`LazyHistogram`].

0 commit comments

Comments
 (0)