aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.rs
diff options
context:
space:
mode:
authormitchmindtree <mitchell.nordine@gmail.com>2015-02-21 23:59:37 +1100
committermitchmindtree <mitchell.nordine@gmail.com>2015-02-21 23:59:37 +1100
commit9bb41bf2773a353804ab710bb65c0e21a4c22a20 (patch)
tree9950aa3b8c60c3803df653ae7525e1d2b615bdc2 /src/window.rs
parent7ff76cddd981d64fbf0f821ba8a5f456fd0fcb29 (diff)
downloadglutin-9bb41bf2773a353804ab710bb65c0e21a4c22a20.tar.gz
glutin-9bb41bf2773a353804ab710bb65c0e21a4c22a20.zip
Fixed errors on latest nightly, RingBuf -> VecDeque
Diffstat (limited to 'src/window.rs')
-rw-r--r--src/window.rs4
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 {