Skip to content

Commit c141a1a

Browse files
committed
Update
1 parent b338eb5 commit c141a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/basic/bufferop/to_readwritecloser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func ToReadWriteCloser() error {
3030
io.Writer // io.Writer
3131
}{
3232
io.NopCloser(b), // io.ReaderはBufferが実装済み。io.Closerは空実装。
33-
b, // io.ReaderはBufferが実装済み
33+
b, // io.WriterはBufferが実装済み
3434
}
3535
}
3636
// 書き込み

0 commit comments

Comments
 (0)