mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
f7c51a2d2f
`Path::with_extension` has a nice footgun when the original path doesn't contain an extension: Anything after the last dot gets removed.