Update text/0000-return-type-notation.md

Co-authored-by: zachs18 <8355914+zachs18@users.noreply.github.com>
This commit is contained in:
Niko Matsakis 2024-06-10 14:06:57 -04:00 committed by GitHub
parent 5485a0fe89
commit 27643b2664
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ The examples above illustrate the semantics but do not make clear how RTN can be
## RTN only applies to AFIT and RPITIT methods
Although conceptually RTN could be used for any trait method, we choose to limits its use to `async fn` and other methods that directly return an `-> impl Future`. This limitation can be lifted in the future as we gain more experience.
Although conceptually RTN could be used for any trait method, we choose to limits its use to `async fn` and other methods that directly return an `-> impl Trait`. This limitation can be lifted in the future as we gain more experience.
* RTN may refer to the following examples:
* `async fn method(&self)`