mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-15 08:23:26 +00:00
Auto merge of #75842 - camelid:highlight-crate-links, r=jyn514
Highlight crate links like normal links Fixes #75823. Cc @jyn514
This commit is contained in:
commit
18b0585b52
@ -1066,7 +1066,11 @@ themePicker.onblur = handleThemeButtonsBlur;
|
||||
krates
|
||||
.iter()
|
||||
.map(|s| {
|
||||
format!("<li><a href=\"{}index.html\">{}</li>", ensure_trailing_slash(s), s)
|
||||
format!(
|
||||
"<li><a class=\"mod\" href=\"{}index.html\">{}</a></li>",
|
||||
ensure_trailing_slash(s),
|
||||
s
|
||||
)
|
||||
})
|
||||
.collect::<String>()
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user