Rollup merge of #64072 - limira:patch-1, r=ollie27

Replace file_stem by file_name in rustdoc markdown

Before this PR, a file name like `some.file.md` will be output to a file named `some.html` with is not correct because the expected output file must be `some.file.html`
This commit is contained in:
Mazdak Farrokhzad
2019-09-11 02:38:04 +02:00
committed by GitHub
+1 -1
View File
@@ -43,7 +43,7 @@ pub fn render(
edition: Edition
) -> i32 {
let mut output = options.output;
output.push(input.file_stem().unwrap());
output.push(input.file_name().unwrap());
output.set_extension("html");
let mut css = String::new();