func and tests

This commit is contained in:
NikVolf
2019-01-22 12:58:29 +03:00
parent ba45e15567
commit be40285a67
2 changed files with 34 additions and 0 deletions

View File

@ -144,6 +144,10 @@ impl<T> RefList<T> {
res
}
pub fn len(&self) -> usize {
self.items.len()
}
}
#[must_use]