Skip to content

Commit 06592c3

Browse files
committed
strings: remove write method of builder
1 parent 3f9139b commit 06592c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vlib/strings/builder.c.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pub fn (mut b Builder) write_decimal(n i64) {
103103
}
104104

105105
// write implements the io.Writer interface, that is why it returns how many bytes were written to the string builder.
106-
pub fn (mut b Builder) write(data []u8) !int {
106+
pub fn (mut b Builder) write(data []u8) int {
107107
if data.len == 0 {
108108
return 0
109109
}

0 commit comments

Comments
 (0)