@@ -745,9 +745,9 @@ impl<'a> SourceCollector<'a> {
745
745
let desc = format ! ( "Source to the Rust file `{}`." , filename) ;
746
746
let page = layout:: Page {
747
747
title : title. as_slice ( ) ,
748
- description : desc. as_slice ( ) ,
749
748
ty : "source" ,
750
749
root_path : root_path. as_slice ( ) ,
750
+ description : desc. as_slice ( ) ,
751
751
} ;
752
752
try!( layout:: render ( & mut w as & mut Writer , & self . cx . layout ,
753
753
& page, & ( "" ) , & Source ( contents) ) ) ;
@@ -1078,9 +1078,9 @@ impl Context {
1078
1078
this. layout. krate) ;
1079
1079
let page = layout:: Page {
1080
1080
ty : "mod" ,
1081
- description : desc. as_slice ( ) ,
1082
1081
root_path : this. root_path . as_slice ( ) ,
1083
1082
title : title. as_slice ( ) ,
1083
+ description : desc. as_slice ( ) ,
1084
1084
} ;
1085
1085
let html_dst = & this. dst . join ( "stability.html" ) ;
1086
1086
let mut html_out = BufferedWriter :: new ( try!( File :: create ( html_dst) ) ) ;
@@ -1139,9 +1139,9 @@ impl Context {
1139
1139
} ;
1140
1140
let page = layout:: Page {
1141
1141
ty : tyname,
1142
- description : desc. as_slice ( ) ,
1143
1142
root_path : cx. root_path . as_slice ( ) ,
1144
1143
title : title. as_slice ( ) ,
1144
+ description : desc. as_slice ( ) ,
1145
1145
} ;
1146
1146
1147
1147
markdown:: reset_headers ( ) ;
0 commit comments