rustdoc: add tooltips to some buttons
This commit is contained in:
parent
a426fc37f2
commit
375ca93c47
2 changed files with 4 additions and 4 deletions
|
|
@ -78,7 +78,7 @@ pub(super) fn print_item(cx: &Context<'_>, item: &clean::Item, buf: &mut Buffer,
|
|||
write!(buf, "<a class=\"{}\" href=\"\">{}</a>", item.type_(), item.name.as_ref().unwrap());
|
||||
write!(
|
||||
buf,
|
||||
"<button id=\"copy-path\" onclick=\"copy_path(this)\">\
|
||||
"<button id=\"copy-path\" onclick=\"copy_path(this)\" title=\"copy path\">\
|
||||
<img src=\"{static_root_path}clipboard{suffix}.svg\" \
|
||||
width=\"19\" height=\"18\" \
|
||||
alt=\"Copy item import\">\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue