summaryrefslogtreecommitdiff
path: root/glfw
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-11-25 23:29:00 +0100
committerHampusM <hampus@hampusmat.com>2024-11-25 23:29:00 +0100
commit72ea011a172312510781d3e6ec51b7cfbded0203 (patch)
treeb5c0fc20dd110b2baa25352d4488d6c45fc7e760 /glfw
parent9efd77d8ad4ab51f3df588a188c4bbda4001258b (diff)
docs(glfw): correct doc comment of set_mouse_button_callback
Diffstat (limited to 'glfw')
-rw-r--r--glfw/src/window.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/glfw/src/window.rs b/glfw/src/window.rs
index 5c30c16..1e7e777 100644
--- a/glfw/src/window.rs
+++ b/glfw/src/window.rs
@@ -180,8 +180,6 @@ impl Window
}
/// Sets the mouse button callback.
- ///
- /// The callback is called when a mouse button is pressed.
pub fn set_mouse_button_callback(
&self,
callback: impl Fn(MouseButton, MouseButtonState, KeyModifiers) + 'static,