Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Jul 31, 2023
1 parent 1497a6e commit b7b451f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions enclave-runtime/src/tls_ra/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ impl TcpHeader {
/// Indicates the payload content type.
#[derive(Copy, Clone, Debug, Eq, PartialEq, Decode, Encode, MaxEncodedLen)]
pub enum Opcode {
ShieldingKey = 0,
StateKey = 1,
State = 2,
LightClient = 3,
ShieldingKey,
StateKey,
State,
LightClient,
}

impl From<u8> for Opcode {
Expand Down

0 comments on commit b7b451f

Please sign in to comment.