diff --git a/src/event.rs b/src/event.rs index c08b1e539a..c751358659 100644 --- a/src/event.rs +++ b/src/event.rs @@ -234,7 +234,7 @@ pub enum WindowEvent { /// of this data is limited by the display area and it may have been transformed by /// the OS to implement effects such as cursor acceleration, it should not be used /// to implement non-cursor-like interactions such as 3D camera control. For that, - /// consider [`DeviceEvent::MouseMotion`]. + /// consider [`DeviceEvent::PointerMotion`]. /// /// ## Platform-specific ///