about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-06-16 03:41:57 -0400
committerGitHub <noreply@github.com>2024-06-16 03:41:57 -0400
commite4bc7deb788f6a33af9aad339861352c827dbee1 (patch)
tree114f94bf14c75e31c0400c18d1363cc2c0168416 /compiler/rustc_parse/src
parentcd0c944b0750db887291bc25f20a05f8f31a8195 (diff)
parent6add5c99cd1aed9b4c816613770da89470918d7b (diff)
downloadrust-e4bc7deb788f6a33af9aad339861352c827dbee1.tar.gz
rust-e4bc7deb788f6a33af9aad339861352c827dbee1.zip
Rollup merge of #125112 - tbu-:pr_create_dir_all_empty, r=dtolnay
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.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions