aboutsummaryrefslogtreecommitdiff
path: root/lib/std/event/loop.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-02-08 01:38:01 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-02-08 01:38:01 -0500
commitc48831512b017202aa8797b72b11eb6993c9428e (patch)
tree71124284e4a99ecff728d3e6b5c68c5ad44122d8 /lib/std/event/loop.zig
parenteddca500595aef9a43d04c4ad9e8845d8adf35e2 (diff)
downloadzig-c48831512b017202aa8797b72b11eb6993c9428e.tar.gz
zig-c48831512b017202aa8797b72b11eb6993c9428e.zip
std lib typo fixups
Diffstat (limited to 'lib/std/event/loop.zig')
-rw-r--r--lib/std/event/loop.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/event/loop.zig b/lib/std/event/loop.zig
index 555dba3000..8000ab88c6 100644
--- a/lib/std/event/loop.zig
+++ b/lib/std/event/loop.zig
@@ -851,7 +851,7 @@ pub const Loop = struct {
/// Performs an async `os.writev` using a separate thread.
/// `fd` must block and not return EAGAIN.
- pub fn writev(self: *Loop, fd: os.fd_t, iov: []const os.iovec_const) WriteError!void {
+ pub fn writev(self: *Loop, fd: os.fd_t, iov: []const os.iovec_const) os.WriteError!void {
var req_node = Request.Node{
.data = .{
.msg = .{
@@ -872,7 +872,7 @@ pub const Loop = struct {
/// Performs an async `os.pwritev` using a separate thread.
/// `fd` must block and not return EAGAIN.
- pub fn pwritev(self: *Loop, fd: os.fd_t, iov: []const os.iovec_const, offset: u64) WriteError!void {
+ pub fn pwritev(self: *Loop, fd: os.fd_t, iov: []const os.iovec_const, offset: u64) os.WriteError!void {
var req_node = Request.Node{
.data = .{
.msg = .{