From 0119022b2cb35c3c719fa1ed6d471aac6963c4be Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 6 Jul 2020 21:55:30 +0800 Subject: [PATCH] remove compiler warning --- src/runtime/src/proto_core_io.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/src/proto_core_io.rs b/src/runtime/src/proto_core_io.rs index 401cd8f..845d042 100644 --- a/src/runtime/src/proto_core_io.rs +++ b/src/runtime/src/proto_core_io.rs @@ -5,6 +5,7 @@ use alloc::string::String; use core_io::{Read, Write, Error as IoError}; +#[allow(dead_code)] #[derive(Debug, Clone, PartialEq)] pub enum ReadStringError { Utf8(Utf8Error),