Skip to content

Commit 961fc0e

Browse files
authored
std.fs.Dir: update deleteTree doc comment to match function signature (#22509)
the actual parameter name is `sub_path` which is also referenced in other comments describing the fuction.
1 parent d4fe469 commit 961fc0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/fs/Dir.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2029,7 +2029,7 @@ pub const DeleteTreeError = error{
20292029
NetworkNotFound,
20302030
} || posix.UnexpectedError;
20312031

2032-
/// Whether `full_path` describes a symlink, file, or directory, this function
2032+
/// Whether `sub_path` describes a symlink, file, or directory, this function
20332033
/// removes it. If it cannot be removed because it is a non-empty directory,
20342034
/// this function recursively removes its entries and then tries again.
20352035
/// This operation is not atomic on most file systems.

0 commit comments

Comments
 (0)