diff options
author | Matias Linares <matiaslina@gmail.com> | 2019-09-10 20:56:58 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@gmail.com> | 2019-09-10 20:56:58 -0300 |
commit | a865776fb4c44f145832b04a4088d006fd8cba3d (patch) | |
tree | 7076275da91b2125c1738ed3fd6c3453d7509d65 /src | |
parent | 57a561ca8756ebb3dea8b8fd2bb19c51d383cf44 (diff) | |
download | dotwm-a865776fb4c44f145832b04a4088d006fd8cba3d.tar.gz |
Remove `cause' method for XSafeError
Diffstat (limited to 'src')
-rw-r--r-- | src/safe_x11/mod.rs | 6 |
1 files changed, 1 insertions, 5 deletions
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 /// |