fix warnings

This commit is contained in:
2026-05-20 21:38:00 +02:00
parent 87a0cdfdad
commit 8a397d2b6e
3 changed files with 1 additions and 5 deletions

View File

@ -10,11 +10,9 @@
/* */
/* ************************************************************************** */
use async_std::task::sleep;
use json::object;
use tokio::net::TcpStream;
use std::collections::VecDeque;
use std::time::Duration;
use crate::minecraft::handshake::Handshake;
use crate::minecraft::varint::{varint_read, varint_write};
use std::{fmt, io};

View File

@ -1,4 +1,3 @@
use json::object;
//pub fn ping(data: json::object) -> json::object {
//

View File

@ -1,7 +1,6 @@
use std::io;
use tokio::net::TcpStream;
use crate::rpc::actions;
/*
* request_format :
@ -17,6 +16,6 @@ use crate::rpc::actions;
* - data: json object containing the response data
*/
pub async fn process_rpc_socket(stream: TcpStream) -> io::Result<()> {
pub async fn process_rpc_socket(_stream: TcpStream) -> io::Result<()> {
panic!("not implemented");
}