Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
another variable needs to be mutable to compile
  • Loading branch information
Nekloa committed Jan 21, 2015
1 parent 61d1700 commit 7104ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extern crate glfw;
use glfw::{Action, Context, Key};

fn main() {
let glfw = glfw::init(glfw::FAIL_ON_ERRORS).unwrap();
let mut glfw = glfw::init(glfw::FAIL_ON_ERRORS).unwrap();

let (mut window, events) = glfw.create_window(300, 300, "Hello this is window", glfw::WindowMode::Windowed)
.expect("Failed to create GLFW window.");
Expand Down

0 comments on commit 7104ee6

Please sign in to comment.