diff --git a/lib/std/fs/file.zig b/lib/std/fs/file.zig index 6002770f55729be42815347dbd3f86fc4e345f3d..5138555723c6a774c501808632f1323680da5030 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