aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-08-17 21:14:16 -0400
committerBrian Cully <bjc@kublai.com>2019-08-17 21:14:16 -0400
commit45e0334a404cf4e155f483e7ad82232b15e4d475 (patch)
tree6cf8d54b9c0c5d289bd26d6b258bc1edda4e74ad
parent772a3ad033b5043349f5543c74bda6d287c3124f (diff)
downloadatsamd-usb-host-45e0334a404cf4e155f483e7ad82232b15e4d475.tar.gz
atsamd-usb-host-45e0334a404cf4e155f483e7ad82232b15e4d475.zip
Remove warnings for unconstructed variants of PipeErr.
-rw-r--r--src/pipe.rs1
1 files changed, 1 insertions, 0 deletions
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,