Remove questionable Ord derives

This commit is contained in:
Jon Gjengset 2017-10-30 20:54:20 -04:00
parent dc7ad26ac1
commit 542ee159a4
No known key found for this signature in database
GPG key ID: D64AC9D67176DC71
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
use std::fmt; use std::fmt;
#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd, Hash)] #[derive(Clone, Debug, Eq, PartialEq, Hash)]
pub struct Mailbox { pub struct Mailbox {
pub flags: String, pub flags: String,
pub exists: u32, pub exists: u32,

View file

@ -1,7 +1,7 @@
use std::io::{Error, ErrorKind, Read, Result, Write}; use std::io::{Error, ErrorKind, Read, Result, Write};
use std::cmp::min; use std::cmp::min;
#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd, Hash)] #[derive(Clone, Debug, Eq, PartialEq, Hash)]
pub struct MockStream { pub struct MockStream {
read_buf: Vec<u8>, read_buf: Vec<u8>,
read_pos: usize, read_pos: usize,