From ba9d849ef09d897b8ca5076e0bef7a049b074bec Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 10 Apr 2018 23:33:05 +0300 Subject: [PATCH] Fix warning: variable does not need to be mutable (#309) --- tokio-threadpool/tests/threadpool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-threadpool/tests/threadpool.rs b/tokio-threadpool/tests/threadpool.rs index 0afd8a1c9..3b704851d 100644 --- a/tokio-threadpool/tests/threadpool.rs +++ b/tokio-threadpool/tests/threadpool.rs @@ -254,7 +254,7 @@ fn drop_threadpool_drops_futures() { let a = num_inc.clone(); let b = num_dec.clone(); - let mut pool = Builder::new() + let pool = Builder::new() .around_worker(move |w, _| { a.fetch_add(1, Relaxed); w.run();