mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 01:52:57 +01:00
Fix typo
This commit is contained in:
parent
52372fcbea
commit
6f2049ba9b
@ -133,7 +133,7 @@ impl AppConfig {
|
|||||||
|
|
||||||
/// Set server host name.
|
/// Set server host name.
|
||||||
///
|
///
|
||||||
/// Host name is used by application router aa a hostname for url
|
/// Host name is used by application router as a hostname for url
|
||||||
/// generation. Check [ConnectionInfo](./dev/struct.ConnectionInfo.
|
/// generation. Check [ConnectionInfo](./dev/struct.ConnectionInfo.
|
||||||
/// html#method.host) documentation for more information.
|
/// html#method.host) documentation for more information.
|
||||||
///
|
///
|
||||||
|
@ -180,7 +180,7 @@ where
|
|||||||
|
|
||||||
/// Set server host name.
|
/// Set server host name.
|
||||||
///
|
///
|
||||||
/// Host name is used by application router aa a hostname for url
|
/// Host name is used by application router as a hostname for url
|
||||||
/// generation. Check [ConnectionInfo](./dev/struct.ConnectionInfo.
|
/// generation. Check [ConnectionInfo](./dev/struct.ConnectionInfo.
|
||||||
/// html#method.host) documentation for more information.
|
/// html#method.host) documentation for more information.
|
||||||
pub fn server_hostname<T: AsRef<str>>(mut self, val: T) -> Self {
|
pub fn server_hostname<T: AsRef<str>>(mut self, val: T) -> Self {
|
||||||
|
Loading…
Reference in New Issue
Block a user