1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-30 00:14:58 +02:00

try to fix doc test failures (#2284)

This commit is contained in:
Rob Ede
2021-06-23 20:47:17 +01:00
committed by GitHub
parent 7535a1ade8
commit ed0516d724
4 changed files with 19 additions and 28 deletions

View File

@ -879,7 +879,7 @@ async fn test_brotli_encoding_large_openssl() {
assert_eq!(bytes, Bytes::from(data));
}
#[cfg(all(feature = "rustls", feature = "openssl"))]
#[cfg(feature = "rustls")]
mod plus_rustls {
use std::io::BufReader;