]> git.lizzy.rs Git - rust.git/commit
rustdoc: Fix duplicated impls with generics
authorOliver Middleton <olliemail27@gmail.com>
Sun, 29 Oct 2017 18:21:20 +0000 (18:21 +0000)
committerOliver Middleton <olliemail27@gmail.com>
Sun, 29 Oct 2017 18:21:20 +0000 (18:21 +0000)
commit676b4bbdc40be39d12b811d6871c2df59e93cde9
tree66872fd2d705e39b51c0b824560756f4827ed180
parent7da9a5e178e28b2e387e6296aa1b0289acdf5781
rustdoc: Fix duplicated impls with generics

The same type can appear multiple times in impls so we need to use a set
to avoid adding it multiple times.
src/librustdoc/html/render.rs
src/test/rustdoc/issue-45584.rs [new file with mode: 0644]