Hands-on Rust: Needless struct creation (118)

Variable let offset = Point::new(camera.left_x, camera.top_y); is being instantiated inside of the 2 nested for loops, despite the fact that it isn’t mutated nor does it depend on the looped variables. I think it would be much better practice to place it outside of the loops.

Thanks - I’ve added it to the issue tracker for any future editions.