version: allow manual_non_exhaustive

We've addressed this lint's findings in `main`. For the 0.21.x release
stream, allow the finding and leave the code unchanged for minimal
semver impact.
This commit is contained in:
Daniel McCarney 2023-12-07 14:19:39 -05:00
parent f628518b16
commit 4ee33ae942
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ use crate::enums::ProtocolVersion;
/// the [`ALL_VERSIONS`] array, as well as individually as [`TLS12`]
/// and [`TLS13`].
#[derive(Eq, PartialEq)]
#[allow(clippy::manual_non_exhaustive)] // Fixed in main
pub struct SupportedProtocolVersion {
/// The TLS enumeration naming this version.
pub version: ProtocolVersion,