fix for nightly

This commit is contained in:
NikVolf 2019-01-22 20:39:51 +03:00
parent 4e871c65e2
commit c3833efca7

View File

@ -2,6 +2,7 @@
use std::rc::Rc; use std::rc::Rc;
use std::cell::RefCell; use std::cell::RefCell;
use std::vec::Vec; use std::vec::Vec;
use std::slice;
#[derive(Debug)] #[derive(Debug)]
enum EntryOrigin { enum EntryOrigin {
@ -165,7 +166,7 @@ impl<T> RefList<T> {
&self.items[idx] &self.items[idx]
} }
pub fn iter(&self) -> std::slice::Iter<EntryRef<T>> { pub fn iter(&self) -> slice::Iter<EntryRef<T>> {
self.items.iter() self.items.iter()
} }
} }