Skip to content

Commit d868054

Browse files
committed
appender: fix broken docs links
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
1 parent f3ae967 commit d868054

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tracing-appender/src/rolling.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! will be created hourly
1616
//! - [`Rotation::daily()`][daily]: A new log file in the format of `some_directory/log_file_name_prefix.yyyy-MM-dd`
1717
//! will be created daily
18-
//! - [`Rotation::never()`][never]: This will result in log file located at `some_directory/log_file_name`
18+
//! - [`Rotation::never()`][never()]: This will result in log file located at `some_directory/log_file_name`
1919
//!
2020
//! [minutely]: fn.minutely.html
2121
//! [hourly]: fn.hourly.html
@@ -46,8 +46,8 @@ use time::{format_description, Duration, OffsetDateTime, Time};
4646
/// block on write operations. It may be used with [`NonBlocking`] to perform
4747
/// writes without blocking the current thread.
4848
///
49-
/// Additionally, `RollingFileAppender` also implements the [`MakeWriter`
50-
/// trait][make_writer] from `tracing-appender`, so it may also be used
49+
/// Additionally, `RollingFileAppender` also implements the [`MakeWriter`]
50+
/// trait from `tracing-appender`, so it may also be used
5151
/// directly, without [`NonBlocking`].
5252
///
5353
/// [write]: std::io::Write
@@ -83,7 +83,7 @@ use time::{format_description, Duration, OffsetDateTime, Time};
8383
/// # }
8484
/// ```
8585
///
86-
/// [make_writer] tracing_subscriber::fmt::writer::MakeWriter
86+
/// [`MakeWriter`]: tracing_subscriber::fmt::writer::MakeWriter
8787
#[derive(Debug)]
8888
pub struct RollingFileAppender {
8989
state: Inner,
@@ -123,7 +123,7 @@ impl RollingFileAppender {
123123
/// - [`Rotation::minutely()`][minutely],
124124
/// - [`Rotation::hourly()`][hourly],
125125
/// - [`Rotation::daily()`][daily],
126-
/// - [`Rotation::never()`][never]
126+
/// - [`Rotation::never()`][never()]
127127
///
128128
/// [minutely]: fn.minutely.html
129129
/// [hourly]: fn.hourly.html

0 commit comments

Comments
 (0)