Skip to content

Commit

Permalink
Iterators: use public keyword for public unexported API (JuliaLang#53900
Browse files Browse the repository at this point in the history
)

I believe that these fields are all the public fields of `Iterators`
that are not exported. This PR marks them as `public`.
  • Loading branch information
fonsp authored and lazarusA committed Jul 12, 2024
1 parent dd44df7 commit 5419ef1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/iterators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import .Base:
popfirst!, isdone, peek, intersect

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

if Base !== Core.Compiler
export partition
Expand Down

0 comments on commit 5419ef1

Please sign in to comment.