Skip to content

Commit

Permalink
Fixing doctest example in map!. (#33217)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirek authored and fredrikekre committed Sep 11, 2019
1 parent 09ff912 commit 0af6f46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions base/abstractdict.jl
Original file line number Diff line number Diff line change
Expand Up @@ -719,10 +719,10 @@ Dict{Symbol,Int64} with 2 entries:
:b => 2
julia> map!(v -> v-1, values(d))
Dict{Symbol,Int64} with 2 entries:
:a => 0
:b => 1
```
Base.ValueIterator for a Dict{Symbol,Int64} with 2 entries. Values:
0
1
```
"""
function map!(f, iter::ValueIterator)
# This is the naive fallback which requires hash evaluations
Expand Down

0 comments on commit 0af6f46

Please sign in to comment.