Skip to content

Commit ba11dc7

Browse files
Fix URL conflict for std type
1 parent dfe4fec commit ba11dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc/check-source-code-urls-to-def.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl Foo {
2626

2727
fn babar() {}
2828

29-
// @has - '//a[@href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"]' 'String'
29+
// @has - '//a/@href' '/struct.String.html'
3030
// @count - '//a[@href="../../src/foo/check-source-code-urls-to-def.rs.html#21"]' 5
3131
// @has - '//a[@href="../../source_code/struct.SourceCode.html"]' 'source_code::SourceCode'
3232
pub fn foo(a: u32, b: &str, c: String, d: Foo, e: bar::Bar, f: source_code::SourceCode) {

0 commit comments

Comments
 (0)