In general, there should be no reason to call `.to_string_lossy`. If you want to display the path, use `.display()`. If you want to pass the path to an OS API (like std::process::Command) than use `PathBuf` or `OsString`. |
||
|---|---|---|
| .. | ||
| main.rs | ||
| support.rs | ||
In general, there should be no reason to call `.to_string_lossy`. If you want to display the path, use `.display()`. If you want to pass the path to an OS API (like std::process::Command) than use `PathBuf` or `OsString`. |
||
|---|---|---|
| .. | ||
| main.rs | ||
| support.rs | ||