aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow_list.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flow_list.rs')
-rw-r--r--components/layout/flow_list.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/layout/flow_list.rs b/components/layout/flow_list.rs
index 4011cd4c400..bd72d7a62ae 100644
--- a/components/layout/flow_list.rs
+++ b/components/layout/flow_list.rs
@@ -5,21 +5,21 @@
use flow::Flow;
use flow_ref::FlowRef;
-use std::collections::{dlist, DList};
+use std::collections::{linked_list, LinkedList};
// This needs to be reworked now that we have dynamically-sized types in Rust.
-// Until then, it's just a wrapper around DList.
+// Until then, it's just a wrapper around LinkedList.
pub struct FlowList {
- flows: DList<FlowRef>,
+ flows: LinkedList<FlowRef>,
}
pub struct FlowListIterator<'a> {
- it: dlist::Iter<'a, FlowRef>,
+ it: linked_list::Iter<'a, FlowRef>,
}
pub struct MutFlowListIterator<'a> {
- it: dlist::IterMut<'a, FlowRef>,
+ it: linked_list::IterMut<'a, FlowRef>,
}
impl FlowList {
@@ -72,7 +72,7 @@ impl FlowList {
#[inline]
pub fn new() -> FlowList {
FlowList {
- flows: DList::new(),
+ flows: LinkedList::new(),
}
}