1
Fork 0

Shorten deprecation note

This commit is contained in:
varkor 2018-03-31 18:31:22 +01:00
parent 101e17df96
commit 44ad8fd136
2 changed files with 3 additions and 3 deletions

View file

@ -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(&note))
} else {
format!("This will be deprecated in {}{}",
format!("Deprecating in {}{}",
Escape(&depr.since),
MarkdownHtml(&note))
};