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

@@ -49,7 +49,7 @@ fn main() -> Result<(), Box<EvalAltResult>> {
.with_fn("new_ts", Self::new)
.with_fn("update", Self::update)
.with_fn("calc", Self::calculate)
.with_iterator()
.is_iterable()
.with_get_set("x", Self::get_x, Self::set_x);
}
}