Fixed errors on latest nightly, RingBuf -> VecDeque

This commit is contained in:
mitchmindtree 2015-02-21 23:59:37 +11:00
parent 7ff76cddd9
commit 9bb41bf277
3 changed files with 12 additions and 12 deletions

View file

@ -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 {