Skip to main content

clt_database/alloc/collections/
btree_map.rs

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