Hands-on Rust: visitor_list in looping example (page 36, B2.0)

Probably too obvious for developers with experience, stating that vistor_list should be left outside the loop instead of wrapping it in the loop can save some debugging cycles.

1 Like

Thank you! I’ve recorded it in the book’s issue tracker. I’m not working today (US Thanksgiving), so I’ll take a proper look tomorrow.

2 Likes