We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61428c0 commit 29e8785Copy full SHA for 29e8785
src/lib.rs
@@ -218,7 +218,7 @@ impl ProxyServer {
218
attestation_generator: AttestationGenerator,
219
attestation_verifier: AttestationVerifier,
220
) -> Result<Self, ProxyError> {
221
- for protocol in vec![ALPN_H2, ALPN_HTTP11] {
+ for protocol in [ALPN_H2, ALPN_HTTP11] {
222
let already_present = server_config
223
.alpn_protocols
224
.iter()
@@ -460,7 +460,7 @@ impl ProxyClient {
460
461
cert_chain: Option<Vec<CertificateDer<'static>>>,
462
463
464
let already_present = client_config
465
466
0 commit comments