diff options
| author | Eric Seppanen <eds@reric.net> | 2020-08-08 22:50:56 -0700 |
|---|---|---|
| committer | Eric Seppanen <eds@reric.net> | 2020-08-08 22:50:56 -0700 |
| commit | f85d231301b506b512bb36d80c840d8478329b25 (patch) | |
| tree | 1519d8292fc570477591c8e9ef2061eb695dda19 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | f50f1c8e17a34ccaa0263c637e9686492b79477f (diff) | |
| download | rust-f85d231301b506b512bb36d80c840d8478329b25.tar.gz rust-f85d231301b506b512bb36d80c840d8478329b25.zip | |
clarify documentation of remove_dir errors
remove_dir will error if the path doesn't exist or isn't a directory. It's useful to clarify that this is "remove dir or fail" not "remove dir if it exists". I don't think this belongs in the title. "Removes an existing, empty directory" is strangely worded-- there's no such thing as a non-existing directory. Better to just say explicitly it will return an error.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
