Parcourir la source

forgot to remove a comment block oopsie uhoh

master
Isabelle L. il y a 5 ans
Parent
révision
09513e87b9
1 fichiers modifiés avec 0 ajouts et 19 suppressions
  1. +0
    -19
      src/lib.rs

+ 0
- 19
src/lib.rs Voir le fichier

@@ -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<PacketKind> given valid matching variant
pub fn from_u8(kind: u8) -> Option<PacketKind> {
match kind {
0x00 => Some(PacketKind::Message),
0xff => Some(PacketKind::Agreement),
_ => None,
}
}
}
*/
/// ilmp's error type
#[derive(Error, Debug)]
pub enum IlmpError {


Chargement…
Annuler
Enregistrer