mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-05 12:34:47 +00:00
Make the io/conv.odin utilities be #optional_ok
This commit is contained in:
@@ -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