mirror of https://github.com/fafhrd91/actix-web
Add missing inline
This commit is contained in:
parent
ae13a17f87
commit
77417c542f
|
@ -151,6 +151,7 @@ impl ConnectionInfo {
|
||||||
/// - Host
|
/// - Host
|
||||||
/// - Uri
|
/// - Uri
|
||||||
/// - Server hostname
|
/// - Server hostname
|
||||||
|
#[inline]
|
||||||
pub fn host(&self) -> &str {
|
pub fn host(&self) -> &str {
|
||||||
&self.host
|
&self.host
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue