1
Fork 0

Rollup merge of #36334 - GuillaumeGomez:run_but, r=steveklabnik

Set run button transparent instead of invisible

r? @steveklabnik

And of course a screenshot:

![screenshot from 2016-09-08 01-15-45](31fe1f8c-7562-11e6-9ae9-1dab44089ec6.png)
This commit is contained in:
Guillaume Gomez 2016-09-14 17:15:36 +02:00 committed by GitHub
commit d939cbeefe
5 changed files with 17 additions and 20 deletions

View file

@ -2954,7 +2954,7 @@ impl<'a> fmt::Display for Source<'a> {
write!(fmt, "<span id=\"{0}\">{0:1$}</span>\n", i, cols)?;
}
write!(fmt, "</pre>")?;
write!(fmt, "{}", highlight::render_with_highlighting(s, None, None))?;
write!(fmt, "{}", highlight::render_with_highlighting(s, None, None, None))?;
Ok(())
}
}
@ -2963,6 +2963,7 @@ fn item_macro(w: &mut fmt::Formatter, cx: &Context, it: &clean::Item,
t: &clean::Macro) -> fmt::Result {
w.write_str(&highlight::render_with_highlighting(&t.source,
Some("macro"),
None,
None))?;
render_stability_since_raw(w, it.stable_since(), None)?;
document(w, cx, it)