mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user