]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #106799 - scottmcm:remove-unused-generics, r=cuviper
authorYuki Okushi <huyuumi.dev+love@gmail.com>
Sat, 14 Jan 2023 03:04:36 +0000 (12:04 +0900)
committerGitHub <noreply@github.com>
Sat, 14 Jan 2023 03:04:36 +0000 (12:04 +0900)
commita05d06f7c589525116dbc566bc5382d75ca03098
tree995a2041c2f2050e4d63381667ff2d6f70ac3b45
parent5ff28671e7d05afec2c4dce00dbece05d4be9b4e
parent4949fb0419a58e937b5098d76e89dff4c91f3f7e
Rollup merge of #106799 - scottmcm:remove-unused-generics, r=cuviper

Stop having unused lifetimes on some `impl`s

See <https://doc.rust-lang.org/nightly/std/cmp/trait.PartialOrd.html#impl-PartialOrd%3COsStr%3E-for-PathBuf>, where these lifetimes show up even though they're not needed:
![image](https://user-images.githubusercontent.com/18526288/212257802-da275167-38f9-4e2c-aafc-d44f0fc6a7c6.png)

With this PR, the unneeded lifetimes are no longer there:
![image](https://user-images.githubusercontent.com/18526288/212257938-0097c4bf-1247-4c91-8445-5bf0dde1b501.png)