Skip to content

Commit

Permalink
Replace file_stem by file_name in rustdoc markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
limira committed Sep 1, 2019
1 parent e29faf0 commit 7fdcbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7fdcbce

Please sign in to comment.