mirror of https://github.com/fafhrd91/actix-web
Update comments to mention 0.23 instead of 0.22
This commit is contained in:
parent
2820b80a64
commit
50aa448fd7
|
@ -371,7 +371,7 @@ mod rustls_0_23 {
|
||||||
U::Error: fmt::Display + Into<Response<BoxBody>>,
|
U::Error: fmt::Display + Into<Response<BoxBody>>,
|
||||||
U::InitError: fmt::Debug,
|
U::InitError: fmt::Debug,
|
||||||
{
|
{
|
||||||
/// Create Rustls v0.22 based service.
|
/// Create Rustls v0.23 based service.
|
||||||
pub fn rustls_0_23(
|
pub fn rustls_0_23(
|
||||||
self,
|
self,
|
||||||
config: ServerConfig,
|
config: ServerConfig,
|
||||||
|
|
|
@ -315,7 +315,7 @@ mod rustls_0_23 {
|
||||||
|
|
||||||
B: MessageBody + 'static,
|
B: MessageBody + 'static,
|
||||||
{
|
{
|
||||||
/// Create Rustls v0.22 based service.
|
/// Create Rustls v0.23 based service.
|
||||||
pub fn rustls_0_23(
|
pub fn rustls_0_23(
|
||||||
self,
|
self,
|
||||||
mut config: ServerConfig,
|
mut config: ServerConfig,
|
||||||
|
|
|
@ -652,7 +652,6 @@ mod rustls_0_22 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#[cfg(feature = "rustls-0_23")]
|
#[cfg(feature = "rustls-0_23")]
|
||||||
mod rustls_0_23 {
|
mod rustls_0_23 {
|
||||||
use std::io;
|
use std::io;
|
||||||
|
@ -690,7 +689,7 @@ mod rustls_0_23 {
|
||||||
U::Error: fmt::Display + Into<Response<BoxBody>>,
|
U::Error: fmt::Display + Into<Response<BoxBody>>,
|
||||||
U::InitError: fmt::Debug,
|
U::InitError: fmt::Debug,
|
||||||
{
|
{
|
||||||
/// Create Rustls v0.22 based service.
|
/// Create Rustls v0.23 based service.
|
||||||
pub fn rustls_0_23(
|
pub fn rustls_0_23(
|
||||||
self,
|
self,
|
||||||
config: ServerConfig,
|
config: ServerConfig,
|
||||||
|
@ -704,7 +703,7 @@ mod rustls_0_23 {
|
||||||
self.rustls_0_23_with_config(config, TlsAcceptorConfig::default())
|
self.rustls_0_23_with_config(config, TlsAcceptorConfig::default())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create Rustls v0.22 based service with custom TLS acceptor configuration.
|
/// Create Rustls v0.23 based service with custom TLS acceptor configuration.
|
||||||
pub fn rustls_0_23_with_config(
|
pub fn rustls_0_23_with_config(
|
||||||
self,
|
self,
|
||||||
mut config: ServerConfig,
|
mut config: ServerConfig,
|
||||||
|
|
Loading…
Reference in New Issue