diff options
| author | Michael Howell <michael@notriddle.com> | 2023-03-09 13:41:13 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-03-09 14:18:12 -0700 |
| commit | ee6b228b6a8b874ca8b6e88cd58d4618cf20fb20 (patch) | |
| tree | 320ff17ba2e730dbd3e387502ea3cbc72d5b1762 /tests/rustdoc-js-std/parser-slice-array.js | |
| parent | c6015851f7e54d1e1e267afb315a2b4b23096d0d (diff) | |
| download | rust-ee6b228b6a8b874ca8b6e88cd58d4618cf20fb20.tar.gz rust-ee6b228b6a8b874ca8b6e88cd58d4618cf20fb20.zip | |
rustdoc: handle generics better when matching notable traits
This commit makes the `clean::Type::is_same` non-commutative, so that a generic `impl` matches a concrete return, but a generic return does not match a concrete `impl`. It makes slice and vector Write for `u8` not match on every generic return value.
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions
