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.
This commit is contained in:
max 2025-01-16 12:11:42 -08:00 committed by GitHub
parent d4fe4698d9
commit 961fc0e140
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2029,7 +2029,7 @@ pub const DeleteTreeError = error{
NetworkNotFound,
} || posix.UnexpectedError;
/// Whether `full_path` describes a symlink, file, or directory, this function
/// Whether `sub_path` describes a symlink, file, or directory, this function
/// removes it. If it cannot be removed because it is a non-empty directory,
/// this function recursively removes its entries and then tries again.
/// This operation is not atomic on most file systems.