aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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
///