Skip to content

Commit 4bee191

Browse files
authored
Fix doctests
1 parent c923b1d commit 4bee191

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/reduce.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,8 +1075,8 @@ julia> count(i->(4<=i<=6), [2,3,4,5,6])
10751075
julia> count([true, false, true, true])
10761076
3
10771077
1078-
julia> count(>(3), 1:7, init=0x03)
1079-
0x07
1078+
julia> count(>(3), 1:7, init=0x00)
1079+
0x0000000000000004
10801080
```
10811081
"""
10821082
count(itr; init=0) = count(identity, itr; init)

0 commit comments

Comments
 (0)