Skip to content

Commit 9368654

Browse files
committed
rustdoc: Update one of the markdown fn tests
1 parent c98cfa4 commit 9368654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustdoc/gen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ mod test {
371371
#[test]
372372
fn write_markdown_should_write_function_header() {
373373
let markdown = render("fn func() { }");
374-
assert str::contains(markdown, "## Function `func`");
374+
assert str::contains(markdown, "### Function `func`");
375375
}
376376

377377
#[test]

0 commit comments

Comments
 (0)