diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-03-23 13:41:35 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-03-23 13:41:35 +0100 |
commit | 8ad9d5fb4dfc373e69e5530961302b1990d898bf (patch) | |
tree | e6d3b631e4901f3b7968ef39102e29bec5d6533a | |
parent | a6485045f15dbd98c4c4863dddf71cae01f931bb (diff) | |
parent | 9a5dd996cd69eb504bdc28ac15ff7c07c2d26a7a (diff) | |
download | glutin-8ad9d5fb4dfc373e69e5530961302b1990d898bf.tar.gz glutin-8ad9d5fb4dfc373e69e5530961302b1990d898bf.zip |
Merge pull request #323 from bvssvni/rustup
Upgrade to latest Rust
-rw-r--r-- | src/cocoa/monitor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cocoa/monitor.rs b/src/cocoa/monitor.rs index 47adc03..11d1237 100644 --- a/src/cocoa/monitor.rs +++ b/src/cocoa/monitor.rs @@ -12,7 +12,7 @@ pub fn get_available_monitors() -> VecDeque<MonitorID> { display::CGGetActiveDisplayList(max_displays, &mut active_displays[0], &mut display_count); - for i in range(0, display_count as usize) { + for i in 0..display_count as usize { monitors.push_back(MonitorID(active_displays[i])); } } |