mirror of https://github.com/rust-lang/book
Add `dyn` as a keyword
Added as a keyword in https://github.com/rust-lang/rust/pull/54261
This commit is contained in:
parent
7be8f06207
commit
845f82fdc9
|
@ -17,6 +17,7 @@ The following keywords currently have the functionality described.
|
|||
* `continue` - continue to the next loop iteration
|
||||
* `crate` - link an external crate or a macro variable representing the crate in
|
||||
which the macro is defined
|
||||
* `dyn` - dynamic dispatch to a trait object
|
||||
* `else` - fallback for `if` and `if let` control flow constructs
|
||||
* `enum` - define an enumeration
|
||||
* `extern` - link an external crate, function, or variable
|
||||
|
|
Loading…
Reference in New Issue