Don't derive Hash for Config because Duration is only Hashable on nightly

This commit is contained in:
Tim Kuehn
2016-02-19 22:06:29 -08:00
parent 66cd136c6a
commit c9a63c2a5a

View File

@@ -56,7 +56,7 @@ impl convert::From<io::Error> for Error {
}
/// Configuration for client and server.
#[derive(Clone, Copy, Debug, Default, Hash, Eq, Ord, PartialEq, PartialOrd)]
#[derive(Clone, Copy, Debug, Default, Eq, Ord, PartialEq, PartialOrd)]
pub struct Config {
/// Request/Response timeout between packet delivery.
pub timeout: Option<Duration>,