Support lists and stylings in more places for rustc --explain
This commit is contained in:
parent
bda221a0eb
commit
5824ab178b
5 changed files with 96 additions and 36 deletions
|
@ -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`.
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue