Closed
Description
The docs for std::fs::write
state that the target file will be made if it doesn't exist. However, at least on linux, if the directory path leading to the target file does not exist then the call will fail rather than first creating the necessary folders and then creating the file.
This is not strictly speaking wrong, but should likely be at least documented.