Skip to content

Commit c06d68e

Browse files
authored
Fix mixed up documentation for Level::* constants (#524)
1 parent 6e1e7f9 commit c06d68e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

metrics/src/metadata.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
pub struct Level(LevelInner);
44

55
impl Level {
6-
/// The "error" level.
6+
/// The "trace" level.
77
pub const TRACE: Self = Self(LevelInner::Trace);
8-
/// The "warn" level.
8+
/// The "debug" level.
99
pub const DEBUG: Self = Self(LevelInner::Debug);
1010
/// The "info" level.
1111
pub const INFO: Self = Self(LevelInner::Info);
12-
/// The "debug" level.
12+
/// The "warn" level.
1313
pub const WARN: Self = Self(LevelInner::Warn);
14-
/// The "trace" level.
14+
/// The "error" level.
1515
pub const ERROR: Self = Self(LevelInner::Error);
1616
}
1717

0 commit comments

Comments
 (0)