Use pattern matching to remove intermediate variable
Merge github.com:bjz/glfw-rs