aboutsummaryrefslogtreecommitdiff
path: root/core/bufio
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-09-11 15:42:08 +0100
committergingerBill <bill@gingerbill.org>2022-09-11 15:42:08 +0100
commite008eeac6ae553da96dba0c0cdae8def6a03b92b (patch)
tree3eff65520dd96bf3036d1fb34b3dd289c99c806f /core/bufio
parent25e330500f43dcbeb46642d4e3d4b4dacea764a3 (diff)
Simplify `package io` by removing different unnecessary types and calls
Diffstat (limited to 'core/bufio')
-rw-r--r--core/bufio/read_writer.odin4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/bufio/read_writer.odin b/core/bufio/read_writer.odin
index 9026abcfd..ccd59a398 100644
--- a/core/bufio/read_writer.odin
+++ b/core/bufio/read_writer.odin
@@ -25,10 +25,6 @@ _read_writer_vtable := &io.Stream_VTable{
b := (^Read_Writer)(s.stream_data).r
return reader_read(b, p)
},
- impl_read_byte = proc(s: io.Stream) -> (c: byte, err: io.Error) {
- b := (^Read_Writer)(s.stream_data).r
- return reader_read_byte(b)
- },
impl_unread_byte = proc(s: io.Stream) -> io.Error {
b := (^Read_Writer)(s.stream_data).r
return reader_unread_byte(b)