Removed redundant default implementation of `cause` fn for error type.

master
Alexander Regueiro 8 years ago
parent ffc541c650
commit 7ea617852a
  1. 4
      src/rocksdb.rs

@ -122,10 +122,6 @@ impl error::Error for Error {
fn description(&self) -> &str { fn description(&self) -> &str {
&self.message &self.message
} }
fn cause(&self) -> Option<&error::Error> {
None
}
} }
impl fmt::Display for Error { impl fmt::Display for Error {

Loading…
Cancel
Save