Fix warning: variable does not need to be mutable (#309)

This commit is contained in:
Roman
2018-04-10 13:33:05 -07:00
committed by Carl Lerche
parent 5b677934fe
commit ba9d849ef0
+1 -1
View File
@@ -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();