Location
https://doc.rust-lang.org/stable/std/fs/fn.remove_dir_all.html
Summary
Add to the errors section "if the passed path is a regular file, this function returns NotADirectory". This clarifies that it is not the same operation as rm -r, and also specifies which error will be returned in this case.
Location
https://doc.rust-lang.org/stable/std/fs/fn.remove_dir_all.html
Summary
Add to the errors section "if the passed path is a regular file, this function returns
NotADirectory". This clarifies that it is not the same operation asrm -r, and also specifies which error will be returned in this case.