Skip to content

Commit 305ad25

Browse files
committed
refactor: glazing clippy
1 parent da3583a commit 305ad25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/analytics.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,8 @@ pub struct Report {
9494

9595
impl Report {
9696
pub async fn new() -> anyhow::Result<Self> {
97-
let mut upt: f64 = 0.0;
9897
let uptime = uptime_lib::get().unwrap();
99-
upt = uptime.as_secs_f64();
98+
let upt = uptime.as_secs_f64();
10099

101100
refresh_sys_info();
102101
let mut os_version = "Unknown".to_string();

0 commit comments

Comments
 (0)