make variable immutable

This commit is contained in:
Carter Anderson 2019-12-09 23:32:18 -08:00
parent 8e39268d56
commit c0f8ded062

View file

@ -76,7 +76,7 @@ fn build_print_status_system() -> Box<dyn Schedulable> {
let mut elapsed = 0.0; let mut elapsed = 0.0;
let mut frame_time_total = 0.0; let mut frame_time_total = 0.0;
let mut frame_time_count = 0; let mut frame_time_count = 0;
let mut frame_time_max = 10; let frame_time_max = 10;
let mut frame_time_values = VecDeque::new(); let mut frame_time_values = VecDeque::new();
SystemBuilder::new("PrintStatus") SystemBuilder::new("PrintStatus")
.read_resource::<Time>() .read_resource::<Time>()