Silence buggy clippy lint

This commit is contained in:
Jonas Platte 2021-10-29 22:41:14 +02:00
parent 3a5e356d65
commit 5a96cbf322
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -1,5 +1,7 @@
use crate::error::Error; use crate::error::Error;
// Clippy lint is buggy, should be fixed within the next week (as of 2021-10-29)
#[allow(clippy::question_mark)]
pub fn validate(server_name: &str) -> Result<(), Error> { pub fn validate(server_name: &str) -> Result<(), Error> {
use std::net::Ipv6Addr; use std::net::Ipv6Addr;