Skip to content

Commit 4a2d31e

Browse files
committed
fix clippy
1 parent 33db450 commit 4a2d31e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • enclave-runtime/src/tls_ra

enclave-runtime/src/tls_ra/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ impl TcpHeader {
4848
/// Indicates the payload content type.
4949
#[derive(Copy, Clone, Debug, Eq, PartialEq, Decode, Encode, MaxEncodedLen)]
5050
pub enum Opcode {
51-
ShieldingKey = 0,
52-
StateKey = 1,
53-
State = 2,
54-
LightClient = 3,
51+
ShieldingKey,
52+
StateKey,
53+
State,
54+
LightClient,
5555
}
5656

5757
impl From<u8> for Opcode {

0 commit comments

Comments
 (0)