@@ -68,10 +68,15 @@ declare_lint! {
|
68 | 68 | /// } |
69 | 69 | /// ``` |
70 | 70 | /// |
| 71 | + /// This still allows the use of `async fn` within impls of the trait. |
| 72 | + /// However, it also means that the trait will never be compatible with |
| 73 | + /// impls where the returned [`Future`] of the method does not implement |
| 74 | + /// `Send`. |
| 75 | + /// |
71 | 76 | /// Conversely, if the trait is used only locally, if it is never used in |
72 | 77 | /// generic functions, or if it is only used in single-threaded contexts |
73 | | - /// that do not care whether the returned [`Future`] implements [auto traits] |
74 | | - /// such as [`Send`], then the lint may be suppressed. |
| 78 | + /// that do not care whether the returned [`Future`] implements [`Send`], |
| 79 | + /// then the lint may be suppressed. |
75 | 80 | /// |
76 | 81 | /// [`Future`]: https://doc.rust-lang.org/core/future/trait.Future.html |
77 | 82 | /// [`Send`]: https://doc.rust-lang.org/core/marker/trait.Send.html |
|