From bca50670272441f2805b2ec81deac0251e6c3dbb Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Thu, 15 Mar 2018 15:43:53 +0100 Subject: [PATCH] fix typo --- util/network/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/network/src/lib.rs b/util/network/src/lib.rs index de1c8f39650..7bd13d1f392 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)));