From d1b895468c19ad07f646144fd9073a0cafc724fc Mon Sep 17 00:00:00 2001 From: Jonathan Strong Date: Thu, 13 Dec 2018 00:18:51 -0500 Subject: [PATCH] beffudling fixes from cargo fix --edition --- src/influx.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/influx.rs b/src/influx.rs index d04a47f..a6860a7 100644 --- a/src/influx.rs +++ b/src/influx.rs @@ -408,8 +408,8 @@ impl InfluxWriter { let mut buf = spares.pop_front().unwrap(); let mut count = 0; let mut extras = 0; // any new Strings we intro to the system - let mut last = Instant::now(); - let mut last_clear = Instant::now(); + let last = Instant::now(); + let last_clear = Instant::now(); let mut loop_time = Instant::now(); let n_out = |s: &VecDeque, b: &VecDeque, extras: usize| -> usize { @@ -534,7 +534,7 @@ impl InfluxWriter { count = match next(count, &meas, &mut buf, loop_time, last) { Ok(n) => n, - Err(n) => { + Err(_n) => { let mut count = 0; let mut next: String = match spares.pop_front() { Some(x) => x,