mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-19 18:34:08 +00:00
parent
5636ca625e
commit
c4219a4783
@ -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,
|
||||
withlink: bool) {
|
||||
write!(w, "{}fn {withlink, select,
|
||||
true{<a href='\\#fn.{name}'>{name}</a>}
|
||||
other{{name}}
|
||||
true{<a href='\\#fn.{name}' class='fnname'>{name}</a>}
|
||||
other{<span class='fnname'>{name}</span>}
|
||||
}{generics}{decl}",
|
||||
match purity {
|
||||
ast::unsafe_fn => "unsafe ",
|
||||
|
@ -221,6 +221,7 @@ a {
|
||||
.content a.enum, .block a.current.enum { color: #5e9766; }
|
||||
.content a.struct, .block a.current.struct { color: #e53700; }
|
||||
.content a.fn, .block a.current.fn { color: #8c6067; }
|
||||
.content .fnname { color: #8c6067; }
|
||||
|
||||
.search-input {
|
||||
border: 2px solid #f2f2f2;
|
||||
|
Loading…
Reference in New Issue
Block a user