mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 00:35:10 +00:00
update error return doc
Docs were out of sync with code
This commit is contained in:
parent
61b8d42d5c
commit
4c5f69a065
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user