Make the io/conv.odin utilities be #optional_ok
This commit is contained in:
1 parent
057310472e
commit
b2164b5da6
4 files changed
+29
-30
No files matched your search
@@ -80,8 +80,7 @@ to_stream :: proc(b: ^Builder) -> io.Stream {
|
||||
return io.Stream{stream_vtable=_builder_stream_vtable, stream_data=b}
|
||||
}
|
||||
to_writer :: proc(b: ^Builder) -> io.Writer {
|
||||
w, _ := io.to_writer(to_stream(b))
|
||||
return w
|
||||
return io.to_writer(to_stream(b))
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user