Skip to content

Commit 7fdcbce

Browse files
authored
Replace file_stem by file_name in rustdoc markdown
1 parent e29faf0 commit 7fdcbce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/markdown.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub fn render(
4343
edition: Edition
4444
) -> i32 {
4545
let mut output = options.output;
46-
output.push(input.file_stem().unwrap());
46+
output.push(input.file_name().unwrap());
4747
output.set_extension("html");
4848

4949
let mut css = String::new();

0 commit comments

Comments
 (0)