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 <[email protected]>
  • Loading branch information
hawkw committed Dec 29, 2021
1 parent f3ae967 commit d868054
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`
//!
//! [minutely]: fn.minutely.html
//! [hourly]: fn.hourly.html
Expand Down Expand Up @@ -46,8 +46,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 @@ -83,7 +83,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 @@ -123,7 +123,7 @@ impl RollingFileAppender {
/// - [`Rotation::minutely()`][minutely],
/// - [`Rotation::hourly()`][hourly],
/// - [`Rotation::daily()`][daily],
/// - [`Rotation::never()`][never]
/// - [`Rotation::never()`][never()]
///
/// [minutely]: fn.minutely.html
/// [hourly]: fn.hourly.html
Expand Down

0 comments on commit d868054

Please sign in to comment.