aboutsummaryrefslogtreecommitdiff
path: root/src/safe_x11
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@gmail.com>2019-09-10 20:56:58 -0300
committerMatias Linares <matiaslina@gmail.com>2019-09-10 20:56:58 -0300
commita865776fb4c44f145832b04a4088d006fd8cba3d (patch)
tree7076275da91b2125c1738ed3fd6c3453d7509d65 /src/safe_x11
parent57a561ca8756ebb3dea8b8fd2bb19c51d383cf44 (diff)
downloaddotwm-a865776fb4c44f145832b04a4088d006fd8cba3d.tar.gz
Remove `cause' method for XSafeError
Diffstat (limited to 'src/safe_x11')
-rw-r--r--src/safe_x11/mod.rs6
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
///