mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
4da8a7a370
std docs: edit `PathBuf::set_file_name` example To make explicit that `set_file_name` might replace or remove the extension, not just the file stem. Also edit docs for `Path::with_file_name`, which calls `set_file_name`.