From 6f5bd845ad2011504ded11dd54f47c2c90742a20 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Thu, 15 Mar 2018 16:49:43 +0100 Subject: [PATCH] fix typo (#8124) --- 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 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)));