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:
parent
ad963232d9
commit
34bc8fbea3
27 changed files with 129 additions and 129 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue