parent
5636ca625e
commit
c4219a4783
2 changed files with 3 additions and 2 deletions
|
@ -889,8 +889,8 @@ fn render_method(w: &mut io::Writer, meth: &clean::Item, withlink: bool) {
|
||||||
g: &clean::Generics, selfty: &clean::SelfTy, d: &clean::FnDecl,
|
g: &clean::Generics, selfty: &clean::SelfTy, d: &clean::FnDecl,
|
||||||
withlink: bool) {
|
withlink: bool) {
|
||||||
write!(w, "{}fn {withlink, select,
|
write!(w, "{}fn {withlink, select,
|
||||||
true{<a href='\\#fn.{name}'>{name}</a>}
|
true{<a href='\\#fn.{name}' class='fnname'>{name}</a>}
|
||||||
other{{name}}
|
other{<span class='fnname'>{name}</span>}
|
||||||
}{generics}{decl}",
|
}{generics}{decl}",
|
||||||
match purity {
|
match purity {
|
||||||
ast::unsafe_fn => "unsafe ",
|
ast::unsafe_fn => "unsafe ",
|
||||||
|
|
|
@ -221,6 +221,7 @@ a {
|
||||||
.content a.enum, .block a.current.enum { color: #5e9766; }
|
.content a.enum, .block a.current.enum { color: #5e9766; }
|
||||||
.content a.struct, .block a.current.struct { color: #e53700; }
|
.content a.struct, .block a.current.struct { color: #e53700; }
|
||||||
.content a.fn, .block a.current.fn { color: #8c6067; }
|
.content a.fn, .block a.current.fn { color: #8c6067; }
|
||||||
|
.content .fnname { color: #8c6067; }
|
||||||
|
|
||||||
.search-input {
|
.search-input {
|
||||||
border: 2px solid #f2f2f2;
|
border: 2px solid #f2f2f2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue