Application Context Implementation #4

Closed
kayomn wants to merge 93 commits from event-loop-dev into main
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 01e6a7cb56 - Show all commits

View File

@ -26,7 +26,7 @@ pub fn Fixed(comptime Element: type) type {
return io.Writer.wrap(Self, self, struct { return io.Writer.wrap(Self, self, struct {
fn write(stack: *Self, buffer: []const u8) usize { fn write(stack: *Self, buffer: []const u8) usize {
stack.pushAll(buffer) catch |err| switch (err) { stack.pushAll(buffer) catch |err| switch (err) {
error.Overflow => return 0, error.OutOfMemory => return 0,
}; };
return buffer.len; return buffer.len;