Fix clippy lints re: docs indentation + unused feature
This commit is contained in:
parent
5dce4d331b
commit
04abc99fb2
|
|
@ -78,7 +78,7 @@
|
|||
//! agreements:
|
||||
//!
|
||||
//! - `X25519Kyber768Draft00Old` is the same as `X25519Kyber768Draft00`, but under its old codepoint.
|
||||
//! -`X25519Kyber512Draft00`. Similar to `X25519Kyber768Draft00`, but uses level 1 parameter set for
|
||||
//! - `X25519Kyber512Draft00`. Similar to `X25519Kyber768Draft00`, but uses level 1 parameter set for
|
||||
//! Kyber. Not recommended. It's useful to test whether the shorter ClientHello upsets fewer middle
|
||||
//! boxes.
|
||||
//! - `P256Kyber768Draft00`. Similar again to `X25519Kyber768Draft00`, but uses P256 as classical
|
||||
|
|
|
|||
|
|
@ -534,9 +534,9 @@ impl SelectCertError {
|
|||
|
||||
/// Extension types, to be used with `ClientHello::get_extension`.
|
||||
///
|
||||
/// NOTE: The current implementation of `From` is unsound, as it's possible to create an ExtensionType
|
||||
/// that is not defined by the impl. `From` will be deprecated in favor of `TryFrom` in the next
|
||||
/// major bump of the library.
|
||||
/// **WARNING**: The current implementation of `From` is unsound, as it's possible to create an
|
||||
/// ExtensionType that is not defined by the impl. `From` will be deprecated in favor of `TryFrom`
|
||||
/// in the next major bump of the library.
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
pub struct ExtensionType(u16);
|
||||
|
||||
|
|
@ -645,7 +645,7 @@ impl fmt::Display for SslVersion {
|
|||
|
||||
/// A signature verification algorithm.
|
||||
///
|
||||
/// NOTE: The current implementation of `From` is unsound, as it's possible to create an
|
||||
/// **WARNING**: The current implementation of `From` is unsound, as it's possible to create an
|
||||
/// SslSignatureAlgorithm that is not defined by the impl. `From` will be deprecated in favor of
|
||||
/// `TryFrom` in the next major bump of the library.
|
||||
#[repr(transparent)]
|
||||
|
|
|
|||
|
|
@ -469,7 +469,7 @@ fn refcount_ssl_context() {
|
|||
|
||||
#[test]
|
||||
#[cfg_attr(target_os = "windows", ignore)]
|
||||
#[cfg_attr(all(target_os = "macos", feature = "vendored"), ignore)]
|
||||
#[cfg_attr(all(target_os = "macos"), ignore)]
|
||||
fn default_verify_paths() {
|
||||
let mut ctx = SslContext::builder(SslMethod::tls()).unwrap();
|
||||
ctx.set_default_verify_paths().unwrap();
|
||||
|
|
|
|||
Loading…
Reference in New Issue