diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-02-21 18:11:02 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-02-21 18:11:02 +0100 |
commit | 06eab6f6c0ad2d8085e2074c47967f770e49792a (patch) | |
tree | 862f0b3320c22d8cd5b7283203b71f10b66dab7d /src/window.rs | |
parent | 7ff76cddd981d64fbf0f821ba8a5f456fd0fcb29 (diff) | |
parent | 1055eed078f674ad4cc657e99a247310183d635e (diff) | |
download | glutin-06eab6f6c0ad2d8085e2074c47967f770e49792a.tar.gz glutin-06eab6f6c0ad2d8085e2074c47967f770e49792a.zip |
Merge pull request #286 from mitchmindtree/master
Updated to latest nightly - RingBuf -> VecDeque, removed unnecessary as_slice_with_nul
Diffstat (limited to 'src/window.rs')
-rw-r--r-- | src/window.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.rs b/src/window.rs index 56f3410..f82fa4f 100644 --- a/src/window.rs +++ b/src/window.rs @@ -1,4 +1,4 @@ -use std::collections::ring_buf::IntoIter as RingBufIter; +use std::collections::vec_deque::IntoIter as VecDequeIter; use std::default::Default; use Api; @@ -452,7 +452,7 @@ impl<'a> Iterator for WaitEventsIterator<'a> { // Implementation note: we retreive the list once, then serve each element by one by one. // This may change in the future. pub struct AvailableMonitorsIter { - data: RingBufIter<winimpl::MonitorID>, + data: VecDequeIter<winimpl::MonitorID>, } impl Iterator for AvailableMonitorsIter { |