Skip to content

Commit

Permalink
Fix inconsistent derived traits
Browse files Browse the repository at this point in the history
Signed-off-by: Takaya Saeki <[email protected]>
  • Loading branch information
nullpo-head committed Mar 2, 2021
1 parent 10f4747 commit 4231943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub enum Status {
}

#[repr(u32)]
#[derive(Debug)]
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
pub enum ContextType {
HttpContext = 0,
StreamContext = 1,
Expand Down Expand Up @@ -99,7 +99,7 @@ pub enum StreamType {
}

#[repr(u32)]
#[derive(Debug)]
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
pub enum MetricType {
Counter = 0,
Gauge = 1,
Expand Down

0 comments on commit 4231943

Please sign in to comment.