Skip to content

Commit

Permalink
chore(prost): Implement Eq on WireType
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Dec 13, 2022
1 parent e71d6f1 commit bf2696b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ pub fn encoded_len_varint(value: u64) -> usize {
((((value | 1).leading_zeros() ^ 63) * 9 + 73) / 64) as usize
}

#[derive(Clone, Copy, Debug, PartialEq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(u8)]
pub enum WireType {
Varint = 0,
Expand Down

0 comments on commit bf2696b

Please sign in to comment.