NFC: Address Clippy `useless_asref`.

This commit is contained in:
Brian Smith 2023-08-30 16:23:34 -07:00
parent 6d409c9039
commit ae7a99f281
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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,