Support lists and stylings in more places for rustc --explain
This commit is contained in:
@@ -70,4 +70,4 @@ fn spawn<F: Future + Send + 'static>(future: F) {
|
||||
|
||||
Similarly to closures, `async` blocks are not executed immediately and may
|
||||
capture closed-over data by reference. For more information, see
|
||||
https://rust-lang.github.io/async-book/03_async_await/01_chapter.html.
|
||||
<https://rust-lang.github.io/async-book/03_async_await/01_chapter.html>.
|
||||
|
||||
@@ -20,7 +20,7 @@ where
|
||||
|
||||
The `DispatchFromDyn` trait currently can only be implemented for
|
||||
builtin pointer types and structs that are newtype wrappers around them
|
||||
— that is, the struct must have only one field (except for`PhantomData`),
|
||||
— that is, the struct must have only one field (except for `PhantomData`),
|
||||
and that field must itself implement `DispatchFromDyn`.
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user