Skip to content

Commit

Permalink
NFC: Address Clippy useless_asref.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Aug 31, 2023
1 parent 6d409c9 commit ae7a99f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion mk/clippy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/name/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ae7a99f

Please sign in to comment.