Skip to content

Commit

Permalink
Update return type in collect(::Dict) docs (#50056)
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub authored Jun 7, 2023
1 parent 1f174a6 commit 2e76fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ _array_for(::Type{T}, itr, isz) where {T} = _array_for(T, isz, _similar_shape(it
collect(collection)
Return an `Array` of all items in a collection or iterator. For dictionaries, returns
`Pair{KeyType, ValType}`. If the argument is array-like or is an iterator with the
`Vector{Pair{KeyType, ValType}}`. If the argument is array-like or is an iterator with the
[`HasShape`](@ref IteratorSize) trait, the result will have the same shape
and number of dimensions as the argument.
Expand Down

0 comments on commit 2e76fc4

Please sign in to comment.