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
|
||||
/// - Uri
|
||||
/// - Server hostname
|
||||
#[inline]
|
||||
pub fn host(&self) -> &str {
|
||||
&self.host
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue