diff options
| author | Michael Howell <michael@notriddle.com> | 2023-01-28 16:35:02 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-28 17:18:56 -0700 |
| commit | 74e843c83328d4fa921aaaa3a86df7c47df6c9e3 (patch) | |
| tree | bee404625d6c400783b9f25aef29c39ffe1b7460 /tests/rustdoc/async-fn.rs | |
| parent | 1e225413a21fa69570bd3fefea9eb05e33f8b917 (diff) | |
| download | rust-74e843c83328d4fa921aaaa3a86df7c47df6c9e3.tar.gz rust-74e843c83328d4fa921aaaa3a86df7c47df6c9e3.zip | |
rustdoc: remove unused class `has-srclink`
Stopped being used in CSS with 73d0f7c7b68784f1db0a1f53855c20d118a7e8b0
Diffstat (limited to 'tests/rustdoc/async-fn.rs')
| -rw-r--r-- | tests/rustdoc/async-fn.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc/async-fn.rs b/tests/rustdoc/async-fn.rs index fb7ebb5f822..8cafb5a2497 100644 --- a/tests/rustdoc/async-fn.rs +++ b/tests/rustdoc/async-fn.rs @@ -77,12 +77,12 @@ struct AsyncFdReadyGuard<'a, T> { x: &'a T } impl Foo { // @has async_fn/struct.Foo.html - // @has - '//*[@class="method has-srclink"]' 'pub async fn complicated_lifetimes( &self, context: &impl Bar) -> impl Iterator<Item = &usize>' + // @has - '//*[@class="method"]' 'pub async fn complicated_lifetimes( &self, context: &impl Bar) -> impl Iterator<Item = &usize>' pub async fn complicated_lifetimes(&self, context: &impl Bar) -> impl Iterator<Item = &usize> {} // taken from `tokio` as an example of a method that was particularly bad before - // @has - '//*[@class="method has-srclink"]' "pub async fn readable<T>(&self) -> Result<AsyncFdReadyGuard<'_, T>, ()>" + // @has - '//*[@class="method"]' "pub async fn readable<T>(&self) -> Result<AsyncFdReadyGuard<'_, T>, ()>" pub async fn readable<T>(&self) -> Result<AsyncFdReadyGuard<'_, T>, ()> {} - // @has - '//*[@class="method has-srclink"]' "pub async fn mut_self(&mut self)" + // @has - '//*[@class="method"]' "pub async fn mut_self(&mut self)" pub async fn mut_self(&mut self) {} } |
