diff --git a/amethyst_network/src/network_socket.rs b/amethyst_network/src/network_socket.rs index 893028ff21..f6e5cb03d4 100644 --- a/amethyst_network/src/network_socket.rs +++ b/amethyst_network/src/network_socket.rs @@ -92,7 +92,7 @@ where socket.set_nonblocking(true).map_err(|_| { Error::new( ErrorKind::Other, - "Unable to set `UdpSocket` to non-blocking mode".to_owned(), + "Unable to set `UdpSocket` to non-blocking mode", ) })?;