Skip to content

Commit 002fc5f

Browse files
authored
doc: take!(::IOBuffer) may make copies (#27442)
Simple doc change to reflect the implementation.
1 parent ba71161 commit 002fc5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

base/iobuffer.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,7 @@ isopen(io::GenericIOBuffer) = io.readable || io.writable || io.seekable || bytes
353353
"""
354354
take!(b::IOBuffer)
355355
356-
Obtain the contents of an `IOBuffer` as an array, without copying. Afterwards, the
357-
`IOBuffer` is reset to its initial state.
356+
Obtain the contents of an `IOBuffer` as an array. Afterwards, the `IOBuffer` is reset to its initial state.
358357
359358
# Examples
360359
```jldoctest

0 commit comments

Comments
 (0)