Merge pull request #65 from tguichaoua/type_builder_iterable

with_iterator --> is_iterable
This commit is contained in:
Stephen Chung
2022-08-11 09:39:04 +08:00
committed by GitHub
3 changed files with 17 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ where
/// Register a type iterator.
/// This is an advanced API.
#[inline(always)]
pub fn with_iterator(&mut self) -> &mut Self {
pub fn is_iterable(&mut self) -> &mut Self {
self.engine.register_iterator::<T>();
self
}