Auto merge of #85859 - pickfire:patch-3, r=CraftSpider
Add title for copy to clipboard button in rustdoc This button 
This commit is contained in:
commit
80af6b091f
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ pub(super) fn print_item(cx: &Context<'_>, item: &clean::Item, buf: &mut Buffer,
|
|||
"<button id=\"copy-path\" onclick=\"copy_path(this)\">\
|
||||
<img src=\"{static_root_path}clipboard{suffix}.svg\" \
|
||||
width=\"19\" height=\"18\" \
|
||||
alt=\"Copy item import\">\
|
||||
alt=\"Copy item import\" \
|
||||
title=\"Copy item import to clipboard\">\
|
||||
</button>",
|
||||
static_root_path = page.get_static_root_path(),
|
||||
suffix = page.resource_suffix,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue