From b7b451fb19141dba121730e437857d3511135e1d Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 31 Jul 2023 15:40:24 +0200 Subject: [PATCH] fix clippy --- enclave-runtime/src/tls_ra/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/enclave-runtime/src/tls_ra/mod.rs b/enclave-runtime/src/tls_ra/mod.rs index e9adb70a87..90724cdfe5 100644 --- a/enclave-runtime/src/tls_ra/mod.rs +++ b/enclave-runtime/src/tls_ra/mod.rs @@ -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 for Opcode {