mirror of https://github.com/ctz/rustls
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:
parent
f628518b16
commit
4ee33ae942
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue