]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #92443 - mdibaiee:90703/resolve-traits-of-primitive-types, r=Manishearth
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 6 Jan 2022 11:01:05 +0000 (12:01 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Jan 2022 11:01:05 +0000 (12:01 +0100)
commit26a90e4cd780175dd2d9dbf061eccd53eb9a2489
treef2c1551a88fe6e6267efc69fe7f93bd3cdf37fdc
parentb510278278304ab961c4bad2ed7119f5d70d0d51
parent973cf632d37b55095d1ff47b62de43c1864c4115
Rollup merge of #92443 - mdibaiee:90703/resolve-traits-of-primitive-types, r=Manishearth

Rustdoc: resolve associated traits for non-generic primitive types

Fixes #90703

This seems to work:
<img width="457" alt="image" src="https://user-images.githubusercontent.com/2807772/147774059-9556ff96-4519-409e-8ed0-c33ecc436171.png">

I'm just afraid I might have missed some cases / broken previous functionality.

I also have not written tests yet, I will have to take a look to see where tests are and how they are structured, but any help there is also appreciated.