Skip to content

Commit b729e58

Browse files
authored
fix documentation for IOBuffer, close #23398 (#23514)
1 parent 383b919 commit b729e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/iobuffer.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ StringVector(n::Integer) = Vector{UInt8}(_string_n(n))
3636
3737
Create an `IOBuffer`, which may optionally operate on a pre-existing array. If the
3838
readable/writable arguments are given, they restrict whether or not the buffer may be read
39-
from or written to respectively. By default the buffer is readable but not writable. The
40-
last argument optionally specifies a size beyond which the buffer may not be grown.
39+
from or written to respectively. The last argument optionally specifies a size beyond which
40+
the buffer may not be grown.
4141
"""
4242
IOBuffer(data::AbstractVector{UInt8}, readable::Bool=true, writable::Bool=false, maxsize::Int=typemax(Int)) =
4343
GenericIOBuffer(data, readable, writable, true, false, maxsize)

0 commit comments

Comments
 (0)