Skip to content

Commit

Permalink
appender: fix broken docs links
Browse files Browse the repository at this point in the history
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
hawkw committed Dec 29, 2021
1 parent 3a96f71 commit 45fa57a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tracing-appender/src/rolling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//! will be created hourly
//! - [`Rotation::daily()`][daily]: A new log file in the format of `some_directory/log_file_name_prefix.yyyy-MM-dd`
//! will be created daily
//! - [`Rotation::never()`][never]: This will result in log file located at `some_directory/log_file_name`
//! - [`Rotation::never()`][never()]: This will result in log file located at `some_directory/log_file_name`
//!
//!
//! # Examples
Expand All @@ -42,8 +42,8 @@ use time::{format_description, Duration, OffsetDateTime, Time};
/// block on write operations. It may be used with [`NonBlocking`] to perform
/// writes without blocking the current thread.
///
/// Additionally, `RollingFileAppender` also implements the [`MakeWriter`
/// trait][make_writer] from `tracing-appender`, so it may also be used
/// Additionally, `RollingFileAppender` also implements the [`MakeWriter`]
/// trait from `tracing-appender`, so it may also be used
/// directly, without [`NonBlocking`].
///
/// [write]: std::io::Write
Expand Down Expand Up @@ -79,7 +79,7 @@ use time::{format_description, Duration, OffsetDateTime, Time};
/// # }
/// ```
///
/// [make_writer] tracing_subscriber::fmt::writer::MakeWriter
/// [`MakeWriter`]: tracing_subscriber::fmt::writer::MakeWriter
#[derive(Debug)]
pub struct RollingFileAppender {
state: Inner,
Expand Down Expand Up @@ -119,7 +119,7 @@ impl RollingFileAppender {
/// - [`Rotation::minutely()`][minutely],
/// - [`Rotation::hourly()`][hourly],
/// - [`Rotation::daily()`][daily],
/// - [`Rotation::never()`][never]
/// - [`Rotation::never()`][never()]
///
///
/// # Examples
Expand Down

0 comments on commit 45fa57a

Please sign in to comment.