aboutsummaryrefslogtreecommitdiff
path: root/src/string_mutable.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_mutable.zig')
-rw-r--r--src/string_mutable.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_mutable.zig b/src/string_mutable.zig
index c6ac943f6..f460d10ae 100644
--- a/src/string_mutable.zig
+++ b/src/string_mutable.zig
@@ -443,7 +443,7 @@ pub const MutableString = struct {
}
};
- pub fn writeAll(self: *MutableString, bytes: string) !usize {
+ pub fn writeAll(self: *MutableString, bytes: string) std.mem.Allocator.Error!usize {
try self.list.appendSlice(self.allocator, bytes);
return bytes.len;
}