authorgravatar for k4@noreply.codeberg.orgK4 <k4@noreply.codeberg.org> 2026-09-13 10:35:46+03:00
committergravatar for k4@noreply.codeberg.orgK4 <k4@noreply.codeberg.org> 2026-09-13 10:35:46+03:00
logd08989840e245c76261cb00930db2369f468392e
tree9ac5bf2b7f40d42b26121fa77f87a6f9201ba6e1
parent0db7eadccdb926e2c2aa952e66a2d46d29c3bbe9

std.fs.path: update doc comment for `extension`

resolves https://github.com/ziglang/zig/issues/20347

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/fs/path.zig+1-1
......@@ -2046,7 +2046,7 @@ fn testRelativeWindows(from: []const u8, to: []const u8, expected_output: []cons
20462046}
20472047
20482048/// Searches for a file extension separated by a `.` and returns the string after that `.`.
2049/// Files that end or start with `.` and have no other `.` in their name
2049/// Files that start with `.` and have no other `.` in their name
20502050/// are considered to have no extension, in which case this returns "".
20512051/// Examples:
20522052/// - `"main.zig"` ⇒ `".zig"`