aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobert Knight <robert.knight@mendeley.com>2015-06-15 23:54:43 +0100
committerRobert Knight <robert.knight@mendeley.com>2015-06-15 23:57:07 +0100
commitb2c2f300dce0b874efee4c328629ff9c2316c056 (patch)
tree07901f0a48dc1426d034bbb39dfed100cc3e7a40 /src
parent5b08220df5cbdf16ee2879a5889cdaaa1f89984e (diff)
downloadglutin-b2c2f300dce0b874efee4c328629ff9c2316c056.tar.gz
glutin-b2c2f300dce0b874efee4c328629ff9c2316c056.zip
Correct MouseWheel doc comment.
Remove incomplete sentence and obsolete comment about the meaning of the parameter.
Diffstat (limited to 'src')
-rw-r--r--src/events.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/events.rs b/src/events.rs
index 07be8c9..c175810 100644
--- a/src/events.rs
+++ b/src/events.rs
@@ -25,10 +25,7 @@ pub enum Event {
/// The parameter are the (x,y) coords in pixels relative to the top-left corner of the window.
MouseMoved((i32, i32)),
- /// A mouse wheel or touchpad scroll occurred. Depending on whether the
- ///
- /// A positive value indicates that the wheel was rotated forward, away from the user;
- /// a negative value indicates that the wheel was rotated backward, toward the user.
+ /// A mouse wheel movement or touchpad scroll occurred.
MouseWheel(MouseScrollDelta),
/// An event from the mouse has been received.