From 4c5f69a0653f32a049c9c12aa909d04b5a48708c Mon Sep 17 00:00:00 2001 From: Julian Maingot Date: Mon, 25 May 2020 17:25:18 -0700 Subject: [PATCH] update error return doc Docs were out of sync with code --- lib/std/fs/file.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/fs/file.zig b/lib/std/fs/file.zig index 6002770f55..5138555723 100644 --- a/lib/std/fs/file.zig +++ b/lib/std/fs/file.zig @@ -117,7 +117,7 @@ pub const File = struct { truncate: bool = true, /// Ensures that this open call creates the file, otherwise causes - /// `error.FileAlreadyExists` to be returned. + /// `error.PathAlreadyExists` to be returned. exclusive: bool = false, /// Open the file with a lock to prevent other processes from accessing it at the