diff options
| author | Sergi-Ferrez <sergiferrezpuig@gmail.com> | 2024-06-04 13:49:39 +0200 |
|---|---|---|
| committer | Sergi-Ferrez <sergiferrezpuig@gmail.com> | 2024-06-04 13:49:39 +0200 |
| commit | 617e64c9e7233ec1f936b8e14c30037fc3f6a1be (patch) | |
| tree | 94434fbc722a278a6668d47cccbebc596ec517a9 /tests/rustdoc/async-fn.rs | |
| parent | b7a8f1f225db2fef723317a4bfb4cc649cc9ff84 (diff) | |
| download | rust-617e64c9e7233ec1f936b8e14c30037fc3f6a1be.tar.gz rust-617e64c9e7233ec1f936b8e14c30037fc3f6a1be.zip | |
Update code format and tests
Diffstat (limited to 'tests/rustdoc/async-fn.rs')
| -rw-r--r-- | tests/rustdoc/async-fn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/async-fn.rs b/tests/rustdoc/async-fn.rs index 010263f6ad3..4de5d8575b0 100644 --- a/tests/rustdoc/async-fn.rs +++ b/tests/rustdoc/async-fn.rs @@ -79,7 +79,7 @@ struct AsyncFdReadyGuard<'a, T> { x: &'a T } impl Foo { // @has async_fn/struct.Foo.html - // @has - '//*[@class="method"]' '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> { [0].iter() } |
