Advanced Hands-on Rust: pg 64 missing necessary changes to main.rs

On page 64 the author notes changes necessary to main.rs, but neglected to include a couple of necessary changes to get the code to compile:

Need to remove these lines:

#[derive(Resource)]
struct Random(RandomNumberGenerator);

Also need to change the parameters for the player and cpu systems from

mut rng: ResMut<Random>,

to:

mut rng: ResMut<RandomNumberGenerator>,

The author doesn’t mention these changes but if you leave them out, the code will not compile.