diff options
Diffstat (limited to 'src/data')
| -rw-r--r-- | src/data/coarena.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/data/coarena.rs b/src/data/coarena.rs index c6fd122..18fb055 100644 --- a/src/data/coarena.rs +++ b/src/data/coarena.rs @@ -13,6 +13,7 @@ impl<T> Coarena<T> { Self { data: Vec::new() } } + /// Iterates through all the elements of this coarena. pub fn iter(&self) -> impl Iterator<Item = (Index, &T)> { self.data .iter() |
