1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

io: fix typos (fix #16839) (#16840)

This commit is contained in:
Keito Tobichi 2023-01-03 03:20:52 +09:00 committed by GitHub
parent b0d39814be
commit d5b9f7d026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
module io module io
// Writer represents a stream of data that can be wrote to // Writer represents a stream of data that can be written to
pub interface Writer { pub interface Writer {
mut: mut:
write(buf []u8) !int write(buf []u8) !int
} }
// RandomWriter represents a stream of data that can be wrote to // RandomWriter represents a stream of data that can be written to
// at a random pos // at a random pos
pub interface RandomWriter { pub interface RandomWriter {
write_to(pos u64, buf []u8) !int write_to(pos u64, buf []u8) !int