Skip to content

Commit b62135c

Browse files
committed
move explainer
1 parent e4bcf42 commit b62135c

File tree

6 files changed

+697
-1
lines changed

6 files changed

+697
-1
lines changed

SUMMARY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
- [Bound items](./evaluation/design/bound_items.md)
3030
- [With clauses](./evaluation/design/with_clauses.md)
3131
- [📚 Explainer](./explainer.md)
32+
- [Phase 1](./explainer/phase_1.md)
33+
- [Phase 1 narrative](./explainer/phase_1_narrative.md)
34+
- [Phase 2](./explainer/phase_2.md)
35+
- [Phase 3](./explainer/phase_3.md)
3236
- [✨ RFC](./RFC.md)
3337
- [Static async fn in traits](./RFC/static_async_fn_in_traits.md)
3438
- [💬 Design discussions](./design-discussions/README.md)

explainer.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,16 @@
22

33
> The "explainer" is "end-user readable" documentation that explains how to use the feature being deveoped by this initiative.
44
> If you want to experiment with the feature, you've come to the right place.
5-
> Until the feature enters "feature complete" form, the explainer should be considered a work-in-progress.
5+
> Until the feature enters "feature complete" form, the explainer should be considered a work-in-progress.
6+
7+
Async functions in traits are expected to "roll out" in stages, so we actually have several explainers, one for each phase:
8+
9+
* [Phase 1](./explainer/phase_1.md): Stable compiler supports async fn in traits, dynamic dispatch supported via [`dyner`] crate
10+
* [Narrative form]()
11+
* Phase 2: Build on async fn in traits support:
12+
* async closures
13+
* async drop
14+
* `AsyncRead`, `AsyncWrite`, `Stream` (the [portability initiative] is driving the design of these traits)
15+
* Phase 3: Circle back to dynamic dispatch, incorporating the lessons we've learned from the `dyner` crate
16+
17+
[`dyner`]: https://github.com/nikomatsakis/dyner

0 commit comments

Comments
 (0)