mirror of
https://github.com/pcvolkmer/cert-tools.git
synced 2025-04-19 17:06:49 +00:00
chore: allow expect and unwrap here
This commit is contained in:
parent
dbc28432b8
commit
f26b486553
@ -37,6 +37,7 @@ pub fn hex_encode<T: AsRef<[u8]>>(s: T) -> String {
|
||||
.to_ascii_uppercase()
|
||||
}
|
||||
|
||||
#[allow(clippy::expect_used, clippy::unwrap_used)]
|
||||
fn asn1time(time: &SystemTime) -> Asn1Time {
|
||||
Asn1Time::from_unix(
|
||||
time.duration_since(UNIX_EPOCH)
|
||||
|
Loading…
x
Reference in New Issue
Block a user