Skip to content

Commit

Permalink
Rollup merge of rust-lang#30828 - wheals:fix-dead-links, r=steveklabnik
Browse files Browse the repository at this point in the history
See [the intrinsics page](https://doc.rust-lang.org/nightly/core/intrinsics/index.html) for example.
  • Loading branch information
Manishearth committed Jan 14, 2016
2 parents 9036c82 + 30779d4 commit 98c7519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustdoc/html/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1819,10 +1819,10 @@ fn short_stability(item: &clean::Item, cx: &Context, show_reason: bool) -> Optio
} else if stab.level == stability::Unstable {
let unstable_extra = if show_reason {
match (!stab.feature.is_empty(), &cx.issue_tracker_base_url, stab.issue) {
(true, &Some(ref tracker_url), Some(issue_no)) =>
(true, &Some(ref tracker_url), Some(issue_no)) if issue_no > 0 =>
format!(" (<code>{}</code> <a href=\"{}{}\">#{}</a>)",
Escape(&stab.feature), tracker_url, issue_no, issue_no),
(false, &Some(ref tracker_url), Some(issue_no)) =>
(false, &Some(ref tracker_url), Some(issue_no)) if issue_no > 0 =>
format!(" (<a href=\"{}{}\">#{}</a>)", Escape(&tracker_url), issue_no,
issue_no),
(true, _, _) =>
Expand Down

0 comments on commit 98c7519

Please sign in to comment.