1 parent 3f9139b commit 06592c3Copy full SHA for 06592c3
1 file changed
vlib/strings/builder.c.v
@@ -103,7 +103,7 @@ pub fn (mut b Builder) write_decimal(n i64) {
103
}
104
105
// 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 {
+pub fn (mut b Builder) write(data []u8) int {
107
if data.len == 0 {
108
return 0
109
0 commit comments