use super::OSBTreeSet;
use crate::OSBTreeMap;
impl<T> OSBTreeSet<T> {
#[must_use]
pub fn with_capacity(capacity: usize) -> Self {
OSBTreeSet {
map: OSBTreeMap::with_capacity(capacity),
}
}
#[must_use]
pub fn capacity(&self) -> usize {
self.map.capacity()
}
}