Skip to content

Commit b3e3554

Browse files
committedJun 26, 2017
Add missing #[derive]s on wire::IpVersion.
1 parent 921f2e3 commit b3e3554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/wire/ip.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use Error;
44
use super::{Ipv4Address, Ipv4Packet, Ipv4Repr};
55

66
/// Internet protocol version.
7-
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
7+
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Copy)]
88
pub enum Version {
99
Ipv4,
1010
#[doc(hidden)]

0 commit comments

Comments
 (0)
Please sign in to comment.