From 6ce916cfdeb75188010f3bab238dd5ab37952257 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Tue, 5 May 2026 03:47:50 -0700 Subject: [PATCH] fix doc comment on Dir.CreateFlags --- Dir.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dir.zig b/Dir.zig index a17bbed0f3bb4bd443ec8c426aca877255198a01..3cfb13660b921f431c4123f943af3d4b9c5e0808 100644 --- a/Dir.zig +++ b/Dir.zig @@ -274,7 +274,7 @@ pub const CreateFlags = packed struct { read: bool = false, /// If the file already exists, and is a regular file, and the access mode allows writing, it will be truncated to length 0. truncate: bool = true, - /// Ensures that this open call creates the file, otherwise causes `error.PathAlreadyExists` to be returned. + /// Ensures that this open call creates the file, otherwise causes `error.EEXIST` to be returned. exclusive: bool = false, /// The file system mode the file will be created with. mode: File.Mode = 0o666, -- 2.54.0