rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

Use dyn syntax for trait objects #303

Closed BD103 closed 7 months ago

BD103 commented 1 year ago

This fixes a syntax error when using trait objects. They require using the dyn syntax now.

BD103 commented 1 year ago

@fitzgen would you mind reviewing this?

BD103 commented 7 months ago

Closing this due to inactivity.