From 877bcb27d244ec20ebc9893048c4cb6f6a1df7bf Mon Sep 17 00:00:00 2001 From: Ayoctl Date: Fri, 16 Oct 2026 03:58:31 +0900 Subject: [PATCH] std.Io.Dir: fix realPath documentation --- lib/std/Io/Dir.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/std/Io/Dir.zig b/lib/std/Io/Dir.zig index 3aec198dd8bc0f02505a647e4cd17c895d90c6e9..929ce5c2679222c18cfa1c002c2b3dcbdd03a825 100644 --- a/lib/std/Io/Dir.zig +++ b/lib/std/Io/Dir.zig @@ -905,9 +905,7 @@ pub fn statFile(dir: Dir, io: Io, sub_path: []const u8, options: StatFileOptions pub const RealPathError = File.RealPathError; -/// Obtains the canonicalized absolute path name of `sub_path` relative to this -/// `Dir`. If `sub_path` is absolute, ignores this `Dir` handle and obtains the -/// canonicalized absolute pathname of `sub_path` argument. +/// Obtains the canonicalized absolute path name of `dir`. /// /// This function has limited platform support, and using it can lead to /// unnecessary failures and race conditions. It is generally advisable to -- 2.54.0