Skip to content

Commit 503bff4

Browse files
committed
---
yaml --- r: 232570 b: refs/heads/try c: 10d08f0 h: refs/heads/master v: v3
1 parent 28c0305 commit 503bff4

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: d893145cae67032ebdc3cfc73396cab362840bb3
4+
refs/heads/try: 10d08f0466ad6816721e3fa2a52d2a6e255f36e7
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/librustdoc/html/render.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,7 @@ thread_local!(pub static CURRENT_LOCATION_KEY: RefCell<Vec<String>> =
306306
pub fn run(mut krate: clean::Crate,
307307
external_html: &ExternalHtml,
308308
dst: PathBuf,
309-
passes: HashSet<String>,
310-
issue_tracker_base_url: Option<String>) -> io::Result<()> {
309+
passes: HashSet<String>) -> io::Result<()> {
311310
let src_root = match krate.src.parent() {
312311
Some(p) => p.to_path_buf(),
313312
None => PathBuf::new(),
@@ -327,7 +326,7 @@ pub fn run(mut krate: clean::Crate,
327326
},
328327
include_sources: true,
329328
render_redirect_pages: false,
330-
issue_tracker_base_url: issue_tracker_base_url,
329+
issue_tracker_base_url: None,
331330
};
332331

333332
try!(mkdir(&cx.dst));

branches/try/src/librustdoc/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ pub fn opts() -> Vec<getopts::OptGroup> {
179179
"FILES"),
180180
optopt("", "markdown-playground-url",
181181
"URL to send code snippets to", "URL"),
182-
optopt("", "issue-tracker-base-url",
183-
"base URL for issue tracker", "URL"),
184182
optflag("", "markdown-no-toc", "don't include table of contents")
185183
)
186184
}
@@ -287,8 +285,7 @@ pub fn main_args(args: &[String]) -> isize {
287285
Some("html") | None => {
288286
match html::render::run(krate, &external_html,
289287
output.unwrap_or(PathBuf::from("doc")),
290-
passes.into_iter().collect(),
291-
matches.opt_str("issue-tracker-base-url")) {
288+
passes.into_iter().collect()) {
292289
Ok(()) => {}
293290
Err(e) => panic!("failed to generate documentation: {}", e),
294291
}

0 commit comments

Comments
 (0)