im retard
This commit is contained in:
parent
7111040b31
commit
f6752c9af3
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ use symbol::Symbol;
|
|||
/// A list that guarantees:
|
||||
/// - O(1) insertion
|
||||
/// - O(1) deletion
|
||||
/// - O(1) iteration
|
||||
/// - O(1) lookup
|
||||
/// - O(n) iteration
|
||||
pub struct List<T> {
|
||||
head: Option<NonNull<Node<T>>>,
|
||||
tail: Option<NonNull<Node<T>>>,
|
||||
|
|
Loading…
Reference in a new issue