Skip to main content

format_host

Function format_host 

Source
pub fn format_host(host: &str) -> &str
Expand description

Format a host string for display (e.g. “” or “127.0.0.1” -> “localhost (127.0.0.1)”).