Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP
Forked at: 9195fac
Parent branch: origin/master
  • Loading branch information
cecton committed Feb 4, 2020
commit c447ef0eec619d8adc431161be09acbdbd092e82
3 changes: 1 addition & 2 deletions client/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,7 @@ fn interface_str(
}
}

/// Parse an address and optionally set the port to `port` if provided in argument.
pub fn parse_address(
fn parse_address(
address: &str,
port: Option<u16>,
) -> Result<SocketAddr, String> {
Expand Down