clippies
This commit is contained in:
@@ -42,16 +42,8 @@ impl ChimemonTarget for ChronySockServer {
|
||||
{
|
||||
let frame = ChronyTimeReport {
|
||||
tv: timeval {
|
||||
tv_sec: tr
|
||||
.system_time
|
||||
.timestamp()
|
||||
.try_into()
|
||||
.unwrap_or_default(),
|
||||
tv_usec: tr
|
||||
.system_time
|
||||
.timestamp()
|
||||
.try_into()
|
||||
.unwrap_or_default(),
|
||||
tv_sec: tr.system_time.timestamp(),
|
||||
tv_usec: tr.system_time.timestamp(),
|
||||
},
|
||||
offset: tr.offset.num_nanoseconds().unwrap() as f64 / 1e9,
|
||||
leap: if tr.leap_flag { 1 } else { 0 },
|
||||
|
||||
Reference in New Issue
Block a user