aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cursor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cursor.rs')
-rw-r--r--examples/cursor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cursor.rs b/examples/cursor.rs
index 0dced66..d3beb84 100644
--- a/examples/cursor.rs
+++ b/examples/cursor.rs
@@ -17,7 +17,7 @@ fn main() { println!("This example requires glutin to be compiled with the `wind
#[cfg(feature = "window")]
fn main() {
- let mut window = glutin::Window::new().unwrap();
+ let window = glutin::Window::new().unwrap();
window.set_title("A fantastic window!");
unsafe { window.make_current() };