chore: lint unused unwraps

This commit is contained in:
Jack Wills
2022-08-04 11:47:45 +00:00
parent 44f8140eae
commit ca3315a69f
4 changed files with 40 additions and 19 deletions
+2 -1
View File
@@ -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)