diff --git a/tracing-appender/src/rolling.rs b/tracing-appender/src/rolling.rs index 22d2ede1fe..ba80eea59a 100644 --- a/tracing-appender/src/rolling.rs +++ b/tracing-appender/src/rolling.rs @@ -245,6 +245,14 @@ pub fn never(directory: impl AsRef, file_name: impl AsRef) -> Rollin /// /// To use a `Rotation`, pick one of the following options: /// +/// ### Minutely Rotation +/// ```rust +/// # fn docs() { +/// use tracing_appender::rolling::Rotation; +/// let rotation = tracing_appender::rolling::Rotation::MINUTELY; +/// # } +/// ``` +/// /// ### Hourly Rotation /// ```rust /// # fn docs() {