mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
67caf52fbc
Directly add extension instead of using `Path::with_extension` `Path::with_extension` has a nice footgun when the original path doesn't contain an extension: Anything after the last dot gets removed.