From db6a8c526d939a125485c89cfb6e540422fe6b4b Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Sat, 19 Mar 2022 16:10:49 +0100 Subject: Fix warnings and add comments. --- src/data/coarena.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/data') 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 Coarena { Self { data: Vec::new() } } + /// Iterates through all the elements of this coarena. pub fn iter(&self) -> impl Iterator { self.data .iter() -- cgit