Missing chevron in the following lines in the “Consume the Player API” section:
- Adding the
player: Player
to theState
struct; - Adding the
self.player.update(ctx,&self.map);
method call.
Missing chevron in the following lines in the “Consume the Player API” section:
player: Player
to the State
struct;self.player.update(ctx,&self.map);
method call.Hi! Thanks for spotting that; unfortunately, now that Hands-on Rust is in-print I can’t make changes. We’ll store it in the hopes that a 2nd edition appears some time in the future.