We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 758519c commit a64d643Copy full SHA for a64d643
src/librustdoc/html/markdown/tests.rs
@@ -29,8 +29,8 @@ fn test_unique_id() {
29
"examples-2",
30
"method.into_iter-1",
31
"foo-1",
32
- "main",
33
- "search",
+ "main-1",
+ "search-1",
34
"methods",
35
"examples-3",
36
"method.into_iter-2",
@@ -191,8 +191,8 @@ fn test_header_ids_multiple_blocks() {
191
t(
192
&mut map,
193
"# Main",
194
- "<h1 id=\"main\" class=\"section-header\">\
195
- <a href=\"#main\">Main</a></h1>",
+ "<h1 id=\"main-1\" class=\"section-header\">\
+ <a href=\"#main-1\">Main</a></h1>",
196
);
197
198
0 commit comments