Skip to content

Commit 11b7176

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/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)