From c0fa05b22510350452e05452cec012f36c10e601 Mon Sep 17 00:00:00 2001 From: Guillaume Lessard Date: Tue, 3 Mar 2026 10:53:15 -0800 Subject: [PATCH] fix typo in Stat proposal Cherry-picked from commit 9ddcf9a0515a557f2efd6d7be77124127e94615f Co-authored-by: Layla <0x04cb@gmail.com> --- Proposals/0006-system-stat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Proposals/0006-system-stat.md b/Proposals/0006-system-stat.md index 39c1bd3a..6214b761 100644 --- a/Proposals/0006-system-stat.md +++ b/Proposals/0006-system-stat.md @@ -417,7 +417,7 @@ public struct FileFlags: OptionSet, Sendable, Hashable, Codable { ### Stat -`Stat` can be initialized from a `FilePath`, `UnsafePointer`, or `FileDescriptor`. This proposal also includes functions on `FileDescriptor` and `FilePath` for creating a `Stat` object, seen in the section below. +`Stat` can be initialized from a `FilePath`, `UnsafePointer`, or `FileDescriptor`. This proposal also includes functions on `FileDescriptor` and `FilePath` for creating a `Stat` object, seen in the section below. The initializer accepting a `FileDescriptor` corresponds to `fstat()`. If the file descriptor points to a symlink, this will return information about the symlink itself.