diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-01-26 21:24:36 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-08-10 12:00:08 +0200 |
| commit | f1649a4e4379aa0f5eb1181ca8e04c7790c21e5e (patch) | |
| tree | ab973445f4979c964de2a935598a97f1a941ccc8 /tests/rustdoc/source-code-pages/check-source-code-urls-to-def.rs | |
| parent | 49044d0d4044960fbb96d47f51640bc5fa8004af (diff) | |
| download | rust-f1649a4e4379aa0f5eb1181ca8e04c7790c21e5e.tar.gz rust-f1649a4e4379aa0f5eb1181ca8e04c7790c21e5e.zip | |
Better handling of paths in link to def feature
Diffstat (limited to 'tests/rustdoc/source-code-pages/check-source-code-urls-to-def.rs')
| -rw-r--r-- | tests/rustdoc/source-code-pages/check-source-code-urls-to-def.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/source-code-pages/check-source-code-urls-to-def.rs b/tests/rustdoc/source-code-pages/check-source-code-urls-to-def.rs index d701b88bf9f..a7b944fa2f6 100644 --- a/tests/rustdoc/source-code-pages/check-source-code-urls-to-def.rs +++ b/tests/rustdoc/source-code-pages/check-source-code-urls-to-def.rs @@ -34,7 +34,7 @@ fn babar() {} // The 5 links to line 23 and the line 23 itself. //@ count - '//pre[@class="rust"]//a[@href="#23"]' 6 //@ has - '//pre[@class="rust"]//a[@href="../../source_code/struct.SourceCode.html"]' \ -// 'source_code::SourceCode' +// 'SourceCode' pub fn foo(a: u32, b: &str, c: String, d: Foo, e: bar::Bar, f: source_code::SourceCode) { let x = 12; let y: Foo = Foo; |
