1
Fork 0

Rollup merge of #93391 - notriddle:notriddle/remove-srclink-tooltip, r=jsha,GuillaumeGomez

rustdoc: remove tooltip from source link

This made more sense back when it was abbreviated, but now it seems redundant.
This commit is contained in:
Matthias Krüger 2022-01-30 00:04:13 +01:00 committed by GitHub
commit 0b2359baa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -182,7 +182,7 @@ impl StylePath {
fn write_srclink(cx: &Context<'_>, item: &clean::Item, buf: &mut Buffer) {
if let Some(l) = cx.src_href(item) {
write!(buf, "<a class=\"srclink\" href=\"{}\" title=\"goto source code\">source</a>", l)
write!(buf, "<a class=\"srclink\" href=\"{}\">source</a>", l)
}
}