Skip to content

Commit d63607b

Browse files
humendaatopia
authored andcommitted
fix return value of LookupHost::port()
[Benjamin Lamowski: Reworded commit message after split commit.]
1 parent 2207613 commit d63607b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/sys/unix/l4re.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ pub mod net {
497497

498498
impl LookupHost {
499499
pub fn port(&self) -> u16 {
500-
unimpl!();
500+
0 // unimplemented
501501
}
502502
}
503503

0 commit comments

Comments
 (0)