Fix warnings and add comments.
This commit is contained in:
committed by
Sébastien Crozet
parent
e2e6fc7871
commit
db6a8c526d
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user