From 7ea617852ae25065472175177da281134d2db42c Mon Sep 17 00:00:00 2001 From: Alexander Regueiro Date: Sun, 13 Nov 2016 12:58:43 +0000 Subject: [PATCH] Removed redundant default implementation of `cause` fn for error type. --- src/rocksdb.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/rocksdb.rs b/src/rocksdb.rs index e364b71..248957c 100644 --- a/src/rocksdb.rs +++ b/src/rocksdb.rs @@ -122,10 +122,6 @@ impl error::Error for Error { fn description(&self) -> &str { &self.message } - - fn cause(&self) -> Option<&error::Error> { - None - } } impl fmt::Display for Error {