diff options
Diffstat (limited to 'src/errno.rs')
-rw-r--r-- | src/errno.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/errno.rs b/src/errno.rs index 287bbea4..a8a2bf24 100644 --- a/src/errno.rs +++ b/src/errno.rs @@ -111,11 +111,7 @@ impl ErrnoSentinel for libc::sighandler_t { fn sentinel() -> Self { libc::SIG_ERR } } -impl error::Error for Errno { - fn description(&self) -> &str { - self.desc() - } -} +impl error::Error for Errno {} impl fmt::Display for Errno { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |