chore: lint unused unwraps
This commit is contained in:
+2
-1
@@ -87,7 +87,8 @@ impl AppData {
|
||||
}
|
||||
}
|
||||
|
||||
// Current time as unix timestamp
|
||||
/// Current time as unix timestamp
|
||||
#[allow(clippy::expect_used)]
|
||||
fn get_systemtime(&self) -> u64 {
|
||||
SystemTime::now()
|
||||
.duration_since(UNIX_EPOCH)
|
||||
|
||||
Reference in New Issue
Block a user