Skip to content

Commit

Permalink
Remove questionable Ord derives
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Oct 31, 2017
1 parent dc7ad26 commit 542ee15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mailbox.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::fmt;

#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd, Hash)]
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
pub struct Mailbox {
pub flags: String,
pub exists: u32,
Expand Down
2 changes: 1 addition & 1 deletion src/mock_stream.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::io::{Error, ErrorKind, Read, Result, Write};
use std::cmp::min;

#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd, Hash)]
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
pub struct MockStream {
read_buf: Vec<u8>,
read_pos: usize,
Expand Down

0 comments on commit 542ee15

Please sign in to comment.