Skip to content

Commit

Permalink
fix documentation for IOBuffer, close #23398 (#23514)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored Aug 31, 2017
1 parent 383b919 commit b729e58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/iobuffer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ StringVector(n::Integer) = Vector{UInt8}(_string_n(n))
Create an `IOBuffer`, which may optionally operate on a pre-existing array. If the
readable/writable arguments are given, they restrict whether or not the buffer may be read
from or written to respectively. By default the buffer is readable but not writable. The
last argument optionally specifies a size beyond which the buffer may not be grown.
from or written to respectively. The last argument optionally specifies a size beyond which
the buffer may not be grown.
"""
IOBuffer(data::AbstractVector{UInt8}, readable::Bool=true, writable::Bool=false, maxsize::Int=typemax(Int)) =
GenericIOBuffer(data, readable, writable, true, false, maxsize)
Expand Down

0 comments on commit b729e58

Please sign in to comment.