remove todo

This commit is contained in:
Rob Ede 2022-01-28 21:47:20 +00:00
parent 32d034bc2b
commit 37d19ef71e
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 2 additions and 2 deletions

View File

@ -76,9 +76,9 @@ where
{
fn source(&self) -> Option<&(dyn Error + 'static)> {
match self {
TlsError::Timeout => todo!(),
TlsError::Tls(err) => Some(err),
TlsError::Service(err) => Some(err),
TlsError::Timeout => None,
}
}
}

View File

@ -38,7 +38,7 @@ impl Error for ConnectError {
match self {
Self::Resolver(err) => Some(&**err),
Self::Io(err) => Some(err),
_ => None,
Self::NoRecords | Self::InvalidInput | Self::Unresolved => None,
}
}
}