rustdoc: remove bad CSS font-weight on .impl, .method, etc

This line was added in c494a06064, because at
the time, the headers had these classes on them. Now, the headers are
children of the `<section>` with the class on it.

This commit also adds a test case, to make sure the srclink font weight does
not regress again.
This commit is contained in:
Michael Howell 2022-09-28 14:47:56 -07:00
parent 307dd938d7
commit 3f21f07e72
4 changed files with 7 additions and 8 deletions

View file

@ -187,7 +187,6 @@ h4.code-header {
.impl-items .associatedtype,
.methods .associatedtype {
flex-basis: 100%;
font-weight: 600;
position: relative;
}