mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-30 12:36:38 +00:00
`Path::with_extension` has a nice footgun when the original path doesn't contain an extension: Anything after the last dot gets removed.
`Path::with_extension` has a nice footgun when the original path doesn't contain an extension: Anything after the last dot gets removed.