From b2c2f300dce0b874efee4c328629ff9c2316c056 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Mon, 15 Jun 2015 23:54:43 +0100 Subject: Correct MouseWheel doc comment. Remove incomplete sentence and obsolete comment about the meaning of the parameter. --- src/events.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/events.rs') 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. -- cgit v1.2.3