mirror of https://github.com/briansmith/webpki
NFC: Address Clippy `useless_asref`.
This commit is contained in:
parent
6d409c9039
commit
ae7a99f281
|
@ -35,5 +35,4 @@ cargo clippy \
|
|||
--allow clippy::too_many_arguments \
|
||||
--allow clippy::type_complexity \
|
||||
--allow clippy::upper_case_acronyms \
|
||||
--allow clippy::useless_asref \
|
||||
$NULL
|
||||
|
|
|
@ -26,7 +26,7 @@ pub fn verify_cert_dns_name(
|
|||
dns_name: DnsNameRef,
|
||||
) -> Result<(), Error> {
|
||||
let cert = cert.inner();
|
||||
let dns_name = untrusted::Input::from(dns_name.as_ref().as_ref());
|
||||
let dns_name = untrusted::Input::from(dns_name.as_ref());
|
||||
iterate_names(
|
||||
cert.subject,
|
||||
cert.subject_alt_name,
|
||||
|
|
Loading…
Reference in New Issue