authorgravatar for julianmaingot@gmail.comJulian Maingot <julianmaingot@gmail.com> 2020-05-25 17:25:18-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-01-18 11:04:33-08:00
log4c5f69a0653f32a049c9c12aa909d04b5a48708c
tree7a374a43b51f232a4c5015e36785e95b2fae2ed4
parent61b8d42d5cd35a4b57802bb4f394eca2cb935bd1

update error return doc

Docs were out of sync with code

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/fs/file.zig+1-1
...@@ -117,7 +117,7 @@ pub const File = struct {...@@ -117,7 +117,7 @@ pub const File = struct {
117 truncate: bool = true,117 truncate: bool = true,
118118
119 /// Ensures that this open call creates the file, otherwise causes119 /// Ensures that this open call creates the file, otherwise causes
120 /// `error.FileAlreadyExists` to be returned.120 /// `error.PathAlreadyExists` to be returned.
121 exclusive: bool = false,121 exclusive: bool = false,
122122
123 /// Open the file with a lock to prevent other processes from accessing it at the123 /// Open the file with a lock to prevent other processes from accessing it at the