Rollup merge of #72014 - GuillaumeGomez:deprecated-emoji, r=kinnison,ollie27
Deprecated emoji Fixes #67872. r? @kinnison cc @rust-lang/rustdoc
This commit is contained in:
commit
dd595fade5
2 changed files with 6 additions and 3 deletions
|
@ -2281,7 +2281,10 @@ fn short_stability(item: &clean::Item, cx: &Context) -> Vec<String> {
|
|||
);
|
||||
message.push_str(&format!(": {}", html.to_string()));
|
||||
}
|
||||
stability.push(format!("<div class='stab deprecated'>{}</div>", message));
|
||||
stability.push(format!(
|
||||
"<div class='stab deprecated'><span class='emoji'>👎</span> {}</div>",
|
||||
message,
|
||||
));
|
||||
}
|
||||
|
||||
if let Some(stab) = item.stability.as_ref().filter(|stab| stab.level == stability::Unstable) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue