Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document behavior of
create_dir_all
wrt. empty path
The behavior makes sense because `Path::new("one_component").parent() == Some(Path::new(""))`, so if one naively wants to create the parent directory for a file to be written, it simply works. Closes #105108 by documenting the current behavior.
- Loading branch information