Skip to content

Commit fe35189

Browse files
authored
Iterators: use public keyword for public unexported API (#53900)
I believe that these fields are all the public fields of `Iterators` that are not exported. This PR marks them as `public`.
1 parent efc35a6 commit fe35189

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/iterators.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import .Base:
3636
popfirst!, isdone, peek, intersect
3737

3838
export enumerate, zip, rest, countfrom, take, drop, takewhile, dropwhile, cycle, repeated, product, flatten, flatmap
39+
public accumulate, filter, map, peel, reverse, Stateful
3940

4041
if Base !== Core.Compiler
4142
export partition

0 commit comments

Comments
 (0)