tomassedovic/roguelike-tutorial

Use the `dyn` keyword for our trait objects

Closed this issue · 1 comments

The latest Rust started giving us warning about this. Basically we need to replace things like &mut Console with &mut dyn Console in the function headers.

It might be better to wait for #53 to be finished. The whole point of the PR is to reduce the amount of repetition when we need to update all the examples.

Fixed in #53