diff --git a/pumpkin/src/client/mod.rs b/pumpkin/src/client/mod.rs index c92878c3..48df355a 100644 --- a/pumpkin/src/client/mod.rs +++ b/pumpkin/src/client/mod.rs @@ -118,7 +118,8 @@ pub struct Client { } impl Client { - #[must_use] pub fn new(id: usize, connection: tokio::net::TcpStream, address: SocketAddr) -> Self { + #[must_use] + pub fn new(id: usize, connection: tokio::net::TcpStream, address: SocketAddr) -> Self { let (connection_reader, connection_writer) = connection.into_split(); Self { protocol_version: AtomicI32::new(0), diff --git a/pumpkin/src/rcon/mod.rs b/pumpkin/src/rcon/mod.rs index a3917406..2965fd78 100644 --- a/pumpkin/src/rcon/mod.rs +++ b/pumpkin/src/rcon/mod.rs @@ -62,7 +62,8 @@ pub struct RCONClient { } impl RCONClient { - #[must_use] pub const fn new(connection: tokio::net::TcpStream, address: SocketAddr) -> Self { + #[must_use] + pub const fn new(connection: tokio::net::TcpStream, address: SocketAddr) -> Self { Self { connection, address,