diff --git a/vignettes/generator.Rmd b/vignettes/generator.Rmd index bcb13b1..28ab7e5 100644 --- a/vignettes/generator.Rmd +++ b/vignettes/generator.Rmd @@ -122,7 +122,7 @@ while (!is_exhausted(x <- abc())) { } ``` -A simpler way is to iterate with a `for` loop using the `iterate()` helper. Within `iterate()`, `for` understands the iterator protocol: +A simpler way is to iterate with a `for` loop using the `loop()` helper. Within `loop()`, `for` understands the iterator protocol: ```{r} abc <- generate_abc()