From 45e0334a404cf4e155f483e7ad82232b15e4d475 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sat, 17 Aug 2019 21:14:16 -0400 Subject: Remove warnings for unconstructed variants of PipeErr. --- src/pipe.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/pipe.rs b/src/pipe.rs index 7d8a4b7..59ae342 100644 --- a/src/pipe.rs +++ b/src/pipe.rs @@ -40,6 +40,7 @@ const MAX_PIPES: usize = 8; const NAK_LIMIT: usize = 15; #[derive(Copy, Clone, Debug, PartialEq)] +#[allow(unused)] pub(crate) enum PipeErr { ShortPacket, InvalidPipe, -- cgit v1.2.3