fix return value of LookupHost::port()
[Benjamin Lamowski: Reworded commit message after split commit.]
This commit is contained in:
parent
7a74d28c38
commit
11b717647e
1 changed files with 1 additions and 1 deletions
|
|
@ -497,7 +497,7 @@ pub mod net {
|
|||
|
||||
impl LookupHost {
|
||||
pub fn port(&self) -> u16 {
|
||||
unimpl!();
|
||||
0 // unimplemented
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue