Hands-on Rust: struct `State` has no field named `systems` (page 108)

The systems field is included in the return from the constructor, but it’s not declared. I know that I’ll need to wait until build_scheduler() exists to be able to run the program, but I thought it would be good to point out.

BTW, I’m having a great time learning Rust with this book! Game programming is what got me interested in becoming a developer, so it’s 1985 for me again. :slight_smile:

1 Like

I’m glad you’re enjoying it! I got started in the 80s (on a BBC Micro) wanting to write games, too - so I was hoping to share some of that joy. :slight_smile:

I’ve added your comment to the issue tracker, and I’ll try to make that clearer in either beta 3 or 4 (we’re getting very close to freezing beta 3, so it may slip to the next one). Thanks!

2 Likes