diff --git a/src/lib.rs b/src/lib.rs index 913569d7..624d99c5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -319,7 +319,7 @@ pub enum MouseCursor { RowResize, } -/// Describes how glutin handles the cursor. +/// Describes how winit handles the cursor. #[derive(Debug, Copy, Clone, PartialEq)] pub enum CursorState { /// Normal cursor behavior. @@ -362,7 +362,7 @@ pub struct WindowAttributes { /// The title of the window in the title bar. /// - /// The default is `"glutin window"`. + /// The default is `"winit window"`. pub title: String, /// Whether the window should be immediately visible upon creation. @@ -394,7 +394,7 @@ impl Default for WindowAttributes { min_dimensions: None, max_dimensions: None, monitor: None, - title: "glutin window".to_owned(), + title: "winit window".to_owned(), visible: true, transparent: false, decorations: true, diff --git a/src/window.rs b/src/window.rs index 920563fc..349c31b1 100644 --- a/src/window.rs +++ b/src/window.rs @@ -117,7 +117,7 @@ impl WindowBuilder { } 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)`. /// @@ -284,7 +284,7 @@ impl Window { 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. #[inline]