diff options
| author | Michael Howell <michael@notriddle.com> | 2023-07-14 16:38:01 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-07-14 16:38:01 -0700 |
| commit | 34bc8fbea3b72ce1f9254dbed85fddb2d7985f75 (patch) | |
| tree | 5a4da5d81e5837c080faf50b82f81d22d5d4d9bc /tests/rustdoc/ensure-src-link.rs | |
| parent | ad963232d9b987d66a6f8e6ec4141f672b8b9900 (diff) | |
| download | rust-34bc8fbea3b72ce1f9254dbed85fddb2d7985f75.tar.gz rust-34bc8fbea3b72ce1f9254dbed85fddb2d7985f75.zip | |
rustdoc: use `src` consistently over `source` in code
The CSS uses an inconsistent mix of both. This commit switches it to always use `src`.
Diffstat (limited to 'tests/rustdoc/ensure-src-link.rs')
| -rw-r--r-- | tests/rustdoc/ensure-src-link.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/ensure-src-link.rs b/tests/rustdoc/ensure-src-link.rs index c65387080f1..f99c4c4d988 100644 --- a/tests/rustdoc/ensure-src-link.rs +++ b/tests/rustdoc/ensure-src-link.rs @@ -2,5 +2,5 @@ // This test ensures that the [src] link is present on traits items. -// @has foo/trait.Iterator.html '//*[@id="method.zip"]//a[@class="srclink rightside"]' "source" +// @has foo/trait.Iterator.html '//*[@id="method.zip"]//a[@class="src rightside"]' "source" pub use std::iter::Iterator; |
