Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing doctest example in map!. #33217

Merged
merged 2 commits into from
Sep 11, 2019
Merged

Fixing doctest example in map!. #33217

merged 2 commits into from
Sep 11, 2019

Conversation

mirek
Copy link
Contributor

@mirek mirek commented Sep 10, 2019

@fredrikekre
Copy link
Member

Thanks!
Looks like that example needs to be updated (see the failure from the doctest buildbot). The output should be:

julia> d = Dict(:a => 1, :b => 2)
Dict{Symbol,Int64} with 2 entries:
  :a => 1
  :b => 2

julia> map!(v -> v-1, values(d))
Base.ValueIterator for a Dict{Symbol,Int64} with 2 entries. Values:
  0
  1

@fredrikekre fredrikekre added the docs This change adds or pertains to documentation label Sep 10, 2019
@fredrikekre fredrikekre merged commit 0af6f46 into JuliaLang:master Sep 11, 2019
@fredrikekre
Copy link
Member

Thanks again, and welcome as a contributor to Julia!

@mirek mirek deleted the patch-1 branch September 11, 2019 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants