1
Fork 0

rustdoc: use src consistently over source in code

The CSS uses an inconsistent mix of both. This commit switches
it to always use `src`.
This commit is contained in:
Michael Howell 2023-07-14 16:38:01 -07:00
parent ad963232d9
commit 34bc8fbea3
27 changed files with 129 additions and 129 deletions

View file

@ -1821,9 +1821,9 @@ fn render_rightside(
);
if let Some(l) = src_href {
if has_stability {
write!(rightside, " · <a class=\"srclink\" href=\"{}\">source</a>", l)
write!(rightside, " · <a class=\"src\" href=\"{}\">source</a>", l)
} else {
write!(rightside, "<a class=\"srclink rightside\" href=\"{}\">source</a>", l)
write!(rightside, "<a class=\"src rightside\" href=\"{}\">source</a>", l)
}
}
if has_stability && has_src_ref {