Skip to main content

clt_database/alloc/collections/
linked_list.rs

1use super::TursoAllocExt;
2use crate::alloc::LinkedList;
3
4fn linked_list<T>() -> LinkedList<T> {
5    std::collections::LinkedList::new()
6}
7
8impl<T> TursoAllocExt for LinkedList<T> {
9    fn new() -> Self {
10        linked_list()
11    }
12}