diff options
| author | Brian Cully <bjc@kublai.com> | 2019-08-17 21:14:16 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@kublai.com> | 2019-08-17 21:14:16 -0400 |
| commit | 45e0334a404cf4e155f483e7ad82232b15e4d475 (patch) | |
| tree | 6cf8d54b9c0c5d289bd26d6b258bc1edda4e74ad /src | |
| parent | 772a3ad033b5043349f5543c74bda6d287c3124f (diff) | |
| download | atsamd-usb-host-45e0334a404cf4e155f483e7ad82232b15e4d475.tar.gz atsamd-usb-host-45e0334a404cf4e155f483e7ad82232b15e4d475.zip | |
Remove warnings for unconstructed variants of PipeErr.
Diffstat (limited to 'src')
| -rw-r--r-- | src/pipe.rs | 1 |
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, |
