Shorten deprecation note
This commit is contained in:
parent
101e17df96
commit
44ad8fd136
2 changed files with 3 additions and 3 deletions
|
@ -2113,7 +2113,7 @@ fn short_stability(item: &clean::Item, cx: &Context, show_reason: bool) -> Vec<S
|
|||
since,
|
||||
MarkdownHtml(&deprecated_reason))
|
||||
} else {
|
||||
format!("This will be deprecated in {}{}",
|
||||
format!("Deprecating in {}{}",
|
||||
Escape(&stab.deprecated_since),
|
||||
MarkdownHtml(&deprecated_reason))
|
||||
};
|
||||
|
@ -2171,7 +2171,7 @@ fn short_stability(item: &clean::Item, cx: &Context, show_reason: bool) -> Vec<S
|
|||
since,
|
||||
MarkdownHtml(¬e))
|
||||
} else {
|
||||
format!("This will be deprecated in {}{}",
|
||||
format!("Deprecating in {}{}",
|
||||
Escape(&depr.since),
|
||||
MarkdownHtml(¬e))
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue