Skip to content

Commit

Permalink
Add missing #[derive]s on wire::IpVersion.
Browse files Browse the repository at this point in the history
whitequark committed Jun 26, 2017
1 parent 921f2e3 commit b3e3554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wire/ip.rs
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ use Error;
use super::{Ipv4Address, Ipv4Packet, Ipv4Repr};

/// Internet protocol version.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Copy)]
pub enum Version {
Ipv4,
#[doc(hidden)]

0 comments on commit b3e3554

Please sign in to comment.