diff options
Diffstat (limited to 'src/meter.rs')
-rw-r--r-- | src/meter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meter.rs b/src/meter.rs index 51e68c34..1b6003db 100644 --- a/src/meter.rs +++ b/src/meter.rs @@ -62,7 +62,7 @@ pub struct Sampler<'a> { impl<'a> Sampler<'a> { fn new(meter: &'a mut Meter) -> Sampler<'a> { Sampler { - meter: meter, + meter, created_at: Instant::now(), } } |