Skip to content

Commit a2cec33

Browse files
FIx clippy warning
1 parent 9215f58 commit a2cec33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async fn handle_java_ping(Path(address): Path<String>) -> Result<Json<MCPingResp
9595
#[allow(clippy::redundant_pub_crate)]
9696
let (latency, response) = select! {
9797
val = ping_future => val?,
98-
_ = sleep_future => return Err(Failure::TimedOut),
98+
() = sleep_future => return Err(Failure::TimedOut),
9999
};
100100
let mut player_sample: Vec<PlayerSample> = Vec::new();
101101
if let Some(sample) = response.players.sample {

0 commit comments

Comments
 (0)