From a865776fb4c44f145832b04a4088d006fd8cba3d Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 10 Sep 2019 20:56:58 -0300 Subject: Remove `cause' method for XSafeError --- src/safe_x11/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/safe_x11') diff --git a/src/safe_x11/mod.rs b/src/safe_x11/mod.rs index 4a1e029..a65c132 100644 --- a/src/safe_x11/mod.rs +++ b/src/safe_x11/mod.rs @@ -58,10 +58,6 @@ impl<'a> error::Error for XSafeError<'a> { fn description(&self) -> &str { self._description } - - fn cause(&self) -> Option<&error::Error> { - None - } } impl<'a> fmt::Display for XSafeError<'a> { @@ -102,7 +98,7 @@ pub fn root_window(display: *mut Display) -> Window { unsafe { xlib::XDefaultRootWindow(display) } } -/// Grab pointer buttons. +/// Grab pointer buttons. /// /// # Example /// -- cgit v1.2.3-70-g09d2