diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-03-19 16:10:49 +0100 |
|---|---|---|
| committer | Sébastien Crozet <sebastien@crozet.re> | 2022-03-20 21:49:16 +0100 |
| commit | db6a8c526d939a125485c89cfb6e540422fe6b4b (patch) | |
| tree | 32738172c6bd27e07ed9a4b8f90f5fbbfc07fd5e /src/data | |
| parent | e2e6fc787112ab35a3d4858aa2cf83fcf41c16a2 (diff) | |
| download | rapier-db6a8c526d939a125485c89cfb6e540422fe6b4b.tar.gz rapier-db6a8c526d939a125485c89cfb6e540422fe6b4b.tar.bz2 rapier-db6a8c526d939a125485c89cfb6e540422fe6b4b.zip | |
Fix warnings and add comments.
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() |
