Fixed errors on latest nightly, RingBuf -> VecDeque
This commit is contained in:
parent
7ff76cddd9
commit
9bb41bf277
3 changed files with 12 additions and 12 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue