rustdoc: clean up overly complex .trait-impl CSS selectors

When added in 45964368f4, these multi-class
selectors were present in the initial commit, but no reason was given why
the shorter selector wouldn't work.
This commit is contained in:
Michael Howell 2022-10-09 23:19:50 -07:00
parent 1a7c203e7f
commit 03fe005f49

View File

@ -734,9 +734,7 @@ a {
display: initial; display: initial;
} }
.impl:hover > .anchor, .method.trait-impl:hover > .anchor, .impl:hover > .anchor, .trait-impl:hover > .anchor {
.type.trait-impl:hover > .anchor, .associatedconstant.trait-impl:hover > .anchor,
.associatedtype.trait-impl:hover > .anchor {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
} }