Skip to content

Commit c0fa05b

Browse files
glessard04cb
andcommitted
fix typo in Stat proposal
Cherry-picked from commit 9ddcf9a Co-authored-by: Layla <0x04cb@gmail.com>
1 parent 51d3960 commit c0fa05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Proposals/0006-system-stat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ public struct FileFlags: OptionSet, Sendable, Hashable, Codable {
417417

418418
### Stat
419419

420-
`Stat` can be initialized from a `FilePath`, `UnsafePointer<CChar>`, or `FileDescriptor`. This proposal also includes functions on `FileDescriptor` and `FilePath` for creating a `Stat` object, seen in the section below.
420+
`Stat` can be initialized from a `FilePath`, `UnsafePointer<CChar>`, or `FileDescriptor`. This proposal also includes functions on `FileDescriptor` and `FilePath` for creating a `Stat` object, seen in the section below.
421421

422422
The initializer accepting a `FileDescriptor` corresponds to `fstat()`. If the file descriptor points to a symlink, this will return information about the symlink itself.
423423

0 commit comments

Comments
 (0)