Skip to content

Commit

Permalink
document join(io, ...) (#27127)
Browse files Browse the repository at this point in the history
I noticed that the `io` argument was in the docstring but wasn't explained
  • Loading branch information
stevengj authored and ararslan committed May 17, 2018
1 parent d44944d commit cc68c6e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions base/strings/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,12 @@ IOBuffer(s::SubString{String}) = IOBuffer(view(unsafe_wrap(Vector{UInt8}, s.stri
# join is implemented using IO

"""
join(io::IO, strings, delim, [last])
join([io::IO,] strings, delim, [last])
Join an array of `strings` into a single string, inserting the given delimiter between
adjacent strings. If `last` is given, it will be used instead of `delim` between the last
two strings. For example,
two strings. If `io` is given, the result is written to `io` rather than returned as
as a `String`. For example,
# Examples
```jldoctest
Expand Down

0 comments on commit cc68c6e

Please sign in to comment.