Skip to content

Commit

Permalink
Fix mixed up documentation for Level::* constants (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 authored Oct 3, 2024
1 parent 6e1e7f9 commit c06d68e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions metrics/src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
pub struct Level(LevelInner);

impl Level {
/// The "error" level.
/// The "trace" level.
pub const TRACE: Self = Self(LevelInner::Trace);
/// The "warn" level.
/// The "debug" level.
pub const DEBUG: Self = Self(LevelInner::Debug);
/// The "info" level.
pub const INFO: Self = Self(LevelInner::Info);
/// The "debug" level.
/// The "warn" level.
pub const WARN: Self = Self(LevelInner::Warn);
/// The "trace" level.
/// The "error" level.
pub const ERROR: Self = Self(LevelInner::Error);
}

Expand Down

0 comments on commit c06d68e

Please sign in to comment.