Fixed obsolete comments

This commit is contained in:
vanderlokken 2017-05-11 03:10:07 +03:00 committed by GitHub
parent 4f2515f91e
commit 5645941a14

View file

@ -117,7 +117,7 @@ impl WindowBuilder {
} }
impl Window { impl Window {
/// Creates a new OpenGL context, and a Window for platforms where this is appropriate. /// Creates a new Window for platforms where this is appropriate.
/// ///
/// This function is equivalent to `WindowBuilder::new().build(events_loop)`. /// This function is equivalent to `WindowBuilder::new().build(events_loop)`.
/// ///
@ -284,7 +284,7 @@ impl Window {
self.window.set_cursor_position(x, y) self.window.set_cursor_position(x, y)
} }
/// Sets how glutin handles the cursor. See the documentation of `CursorState` for details. /// Sets how winit handles the cursor. See the documentation of `CursorState` for details.
/// ///
/// Has no effect on Android. /// Has no effect on Android.
#[inline] #[inline]