diff options
author | Bert Belder <bertbelder@gmail.com> | 2019-04-09 07:15:49 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-04-09 20:05:47 +0200 |
commit | 4ffe1612ff71c324fb0f0c23e1f92e9fa2d5473c (patch) | |
tree | f57e7b4b9fa41c29d6c6536f0a7f1e4cd5f8e8c8 /cli/ops.rs | |
parent | fe2f3ba88949b467b14f76422400105c4dd52a79 (diff) |
Silence clippy warnings and format source code
Diffstat (limited to 'cli/ops.rs')
-rw-r--r-- | cli/ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops.rs b/cli/ops.rs index baa159a68..ce8299136 100644 --- a/cli/ops.rs +++ b/cli/ops.rs @@ -214,7 +214,7 @@ fn op_now( assert_eq!(data.len(), 0); let seconds = state.start_time.elapsed().as_secs(); let mut subsec_nanos = state.start_time.elapsed().subsec_nanos(); - let reduced_time_precision = 2000000; // 2ms in nanoseconds + let reduced_time_precision = 2_000_000; // 2ms in nanoseconds // If the permission is not enabled // Round the nano result on 2 milliseconds |