mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-04 13:27:39 +03:00
clippy
This commit is contained in:
parent
959d821edd
commit
2e9c816b41
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ pub trait Address: Unpin + 'static {
|
|||
|
||||
impl Address for String {
|
||||
fn host(&self) -> &str {
|
||||
&self
|
||||
self
|
||||
}
|
||||
|
||||
fn port(&self) -> Option<u16> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue