diff --git a/util/network/src/lib.rs b/util/network/src/lib.rs index de1c8f396..7bd13d1f3 100644 --- a/util/network/src/lib.rs +++ b/util/network/src/lib.rs @@ -231,7 +231,7 @@ impl NetworkConfiguration { } } - /// Create new default configuration with sepcified listen port. + /// Create new default configuration with specified listen port. pub fn new_with_port(port: u16) -> NetworkConfiguration { let mut config = NetworkConfiguration::new(); config.listen_address = Some(SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::new(0, 0, 0, 0), port)));