From c0f8ded06279f6766efb736e167aa3639c06a23c Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Mon, 9 Dec 2019 23:32:18 -0800 Subject: [PATCH] make variable immutable --- examples/simple.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple.rs b/examples/simple.rs index 90d8d6db90..5f3a4ed8b4 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -76,7 +76,7 @@ fn build_print_status_system() -> Box { let mut elapsed = 0.0; let mut frame_time_total = 0.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(); SystemBuilder::new("PrintStatus") .read_resource::