File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ fn primitive_link(f: &mut fmt::Formatter,
378
378
Some ( & LOCAL_CRATE ) => {
379
379
let len = CURRENT_LOCATION_KEY . with ( |s| s. borrow ( ) . len ( ) ) ;
380
380
let len = if len == 0 { 0 } else { len - 1 } ;
381
- try!( write ! ( f, "<a href='{}primitive.{}.html'>" ,
381
+ try!( write ! ( f, "<a class='primitive' href='{}primitive.{}.html'>" ,
382
382
repeat( "../" ) . take( len) . collect:: <String >( ) ,
383
383
prim. to_url_str( ) ) ) ;
384
384
needs_termination = true ;
@@ -398,7 +398,7 @@ fn primitive_link(f: &mut fmt::Formatter,
398
398
} ;
399
399
match loc {
400
400
Some ( root) => {
401
- try!( write ! ( f, "<a href='{}{}/primitive.{}.html'>" ,
401
+ try!( write ! ( f, "<a class='primitive' href='{}{}/primitive.{}.html'>" ,
402
402
root,
403
403
path. 0 . first( ) . unwrap( ) ,
404
404
prim. to_url_str( ) ) ) ;
Original file line number Diff line number Diff line change 415
415
.content span .mod , .content a .mod , block a .current .mod { color : # 4d76ae ; }
416
416
.content span .enum , .content a .enum , .block a .current .enum { color : # 5e9766 ; }
417
417
.content span .struct , .content a .struct , .block a .current .struct { color : # e53700 ; }
418
+ .content a .primitive { color : # 39a7bf ; }
419
+ .content a .type { color : # e57300 ; }
420
+ .content a .macro { color : # 068000 ; }
418
421
.content span .fn , .content a .fn , .block a .current .fn ,
419
422
.content span .method , .content a .method , .block a .current .method ,
420
423
.content span .tymethod , .content a .tymethod , .block a .current .tymethod ,
You can’t perform that action at this time.
0 commit comments