You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
GuillaumeGomez
added
the
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
label
Jun 17, 2022
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.
The text was updated successfully, but these errors were encountered: