Skip to content

Commit 49ce684

Browse files
authored
Merge pull request #3763 from Wilfred/patch-1
Update 3654-return-type-notation.md: Fix typo
2 parents 644dd45 + 07ff9f7 commit 49ce684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3654-return-type-notation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Rust now supports async fns and `-> impl Trait` in traits (acronymized as AFIT a
3636

3737
## The [send bound problem][sbp] blocks an interoperable async ecosystem
3838

39-
To create an interoperable async ecosystem, we need the ability to write a single trait definition that can be used across all styles of async exectutors (workstealing, thread-per-core, single-threaded, embedded, etc). One example of such a trait is the `Service` trait found in the `tower` crate, which defines a generic "service" that can process a `Request` and yield some `Response`. The [current `Service` trait](https://docs.rs/tower/latest/tower/trait.Service.html) is defined with a custom `poll` method and explicit usage of `Pin`, but the goal is to be able to define `Service` like so:
39+
To create an interoperable async ecosystem, we need the ability to write a single trait definition that can be used across all styles of async executors (workstealing, thread-per-core, single-threaded, embedded, etc). One example of such a trait is the `Service` trait found in the `tower` crate, which defines a generic "service" that can process a `Request` and yield some `Response`. The [current `Service` trait](https://docs.rs/tower/latest/tower/trait.Service.html) is defined with a custom `poll` method and explicit usage of `Pin`, but the goal is to be able to define `Service` like so:
4040

4141
```rust
4242
trait Service<Request> {

0 commit comments

Comments
 (0)