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