Skip to content

Commit 22a3654

Browse files
committed
---
yaml --- r: 126394 b: refs/heads/master c: 2b0a154 h: refs/heads/master v: v3
1 parent bdeb5d1 commit 22a3654

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 08d44f5512e624eadfedf32d41f19ece13dd5fb4
2+
refs/heads/master: 2b0a15494ae24f7f131c8cbe14ca00638b1ae5f9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
55
refs/heads/try: cd2003ffd8dd976342f9e8fc1429ae93d6780e81

trunk/src/librustdoc/html/render.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -745,9 +745,9 @@ impl<'a> SourceCollector<'a> {
745745
let desc = format!("Source to the Rust file `{}`.", filename);
746746
let page = layout::Page {
747747
title: title.as_slice(),
748-
description: desc.as_slice(),
749748
ty: "source",
750749
root_path: root_path.as_slice(),
750+
description: desc.as_slice(),
751751
};
752752
try!(layout::render(&mut w as &mut Writer, &self.cx.layout,
753753
&page, &(""), &Source(contents)));
@@ -1078,9 +1078,9 @@ impl Context {
10781078
this.layout.krate);
10791079
let page = layout::Page {
10801080
ty: "mod",
1081-
description: desc.as_slice(),
10821081
root_path: this.root_path.as_slice(),
10831082
title: title.as_slice(),
1083+
description: desc.as_slice(),
10841084
};
10851085
let html_dst = &this.dst.join("stability.html");
10861086
let mut html_out = BufferedWriter::new(try!(File::create(html_dst)));
@@ -1139,9 +1139,9 @@ impl Context {
11391139
};
11401140
let page = layout::Page {
11411141
ty: tyname,
1142-
description: desc.as_slice(),
11431142
root_path: cx.root_path.as_slice(),
11441143
title: title.as_slice(),
1144+
description: desc.as_slice(),
11451145
};
11461146

11471147
markdown::reset_headers();

0 commit comments

Comments
 (0)