im retard

This commit is contained in:
Michael Zhang 2020-02-20 18:44:55 -06:00
parent 7111040b31
commit f6752c9af3
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

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