Skip to content

Commit 8470211

Browse files
little-dudehawkw
andauthored
Update tracing-journald/src/lib.rs
Co-authored-by: Eliza Weisman <[email protected]>
1 parent cc584a6 commit 8470211

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tracing-journald/src/lib.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -449,13 +449,13 @@ pub struct PriorityMappings {
449449
}
450450

451451
impl PriorityMappings {
452-
/// Create new default mappings:
452+
/// Returns the default priority mappings:
453453
///
454-
/// - `tracing::Level::ERROR`: Error (3)
455-
/// - `tracing::Level::WARN`: Warning (4)
456-
/// - `tracing::Level::INFO`: Notice (5)
457-
/// - `tracing::Level::DEBUG`: Informational (6)
458-
/// - `tracing::Level::TRACE`: Debug (7)
454+
/// - [`tracing::Level::ERROR`]: [`Priority::Error`] (3)
455+
/// - [`tracing::Level::WARN`]: [`Priority::Warning`] (4)
456+
/// - [`tracing::Level::INFO`]: [`Priority::Notice`] (5)
457+
/// - [`tracing::Level::DEBUG`]: [`Priority::Informational`] (6)
458+
/// - [`tracing::Level::TRACE`]: [`Priority::Debug`] (7)
459459
pub fn new() -> PriorityMappings {
460460
Self {
461461
error: Priority::Error,

0 commit comments

Comments
 (0)