aboutsummaryrefslogtreecommitdiff
path: root/core/bufio
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-06-08 16:38:57 +0100
committergingerBill <bill@gingerbill.org>2023-06-08 16:38:57 +0100
commit9ee4b76cd950e5eef9d480831670ae7bcff64775 (patch)
treeb3dd5c9074cf1c26ff2e169fe2b92c7998ce6e48 /core/bufio
parent3f6775e29b2378d189cca72733cf8953681281e4 (diff)
Just make the `io.Reader` etc aliases
Diffstat (limited to 'core/bufio')
-rw-r--r--core/bufio/writer.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bufio/writer.odin b/core/bufio/writer.odin
index b4234af43..bfa8b804f 100644
--- a/core/bufio/writer.odin
+++ b/core/bufio/writer.odin
@@ -221,7 +221,7 @@ writer_to_stream :: proc(b: ^Writer) -> (s: io.Stream) {
// writer_to_stream converts a Writer into an io.Stream
writer_to_writer :: proc(b: ^Writer) -> (s: io.Writer) {
- return {writer_to_stream(b)}
+ return writer_to_stream(b)
}