diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-10-14 17:02:49 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-10-14 17:02:49 +0200 |
| commit | e4406676a28f2dfb756f8f9e38a4242166f19c0e (patch) | |
| tree | 7f3be459af5be2a8e94952de622d8e093520a56e /mumd/src/state.rs | |
| parent | a42eea8af353d15e1ffba287fa47ad774c31aef1 (diff) | |
| download | mum-e4406676a28f2dfb756f8f9e38a4242166f19c0e.tar.gz | |
resolve some compiler warnings
Diffstat (limited to 'mumd/src/state.rs')
| -rw-r--r-- | mumd/src/state.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mumd/src/state.rs b/mumd/src/state.rs index 0de29f1..016783b 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -36,7 +36,6 @@ impl State { packet_sender: mpsc::UnboundedSender<ControlPacket<Serverbound>>, command_sender: mpsc::UnboundedSender<Command>, connection_info_sender: watch::Sender<Option<ConnectionInfo>>, - username: String, ) -> Self { Self { server: Server::new(), @@ -87,7 +86,7 @@ impl State { socket_addr, host, accept_invalid_cert, - ))); + ))).unwrap(); (true, Ok(None)) } Command::Status => { |
