From 09513e87b9fec2cd41aa94b7233ab698f5aa29ed Mon Sep 17 00:00:00 2001 From: Isabelle L Date: Sat, 30 May 2020 02:56:19 -0500 Subject: [PATCH] forgot to remove a comment block oopsie uhoh --- src/lib.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 4eef5f8..831e18d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -135,25 +135,6 @@ impl Packet { } } -/*/// kinds of packets that can be sent -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -#[repr(u8)] -pub enum PacketKind { - Message = 0x00, - Agreement = 0xff, -} - -impl PacketKind { - /// returns `Option given valid matching variant - pub fn from_u8(kind: u8) -> Option { - match kind { - 0x00 => Some(PacketKind::Message), - 0xff => Some(PacketKind::Agreement), - _ => None, - } - } -} -*/ /// ilmp's error type #[derive(Error, Debug)] pub enum IlmpError {