visualizer.rs: Removed unneeded lifetimes