From 0e350e201de84d357944a67d5e6d01e76d2b806c Mon Sep 17 00:00:00 2001 From: Yureka Date: Wed, 22 Nov 2023 12:31:39 +0100 Subject: [PATCH] fix warning --- src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.rs b/src/api.rs index f351a69..71a17d5 100644 --- a/src/api.rs +++ b/src/api.rs @@ -138,7 +138,7 @@ async fn query( } async fn routers( - State((cfg, _, store)): State<(Arc, TokioAsyncResolver, T)>, + State((_, _, store)): State<(Arc, TokioAsyncResolver, T)>, ) -> impl IntoResponse { serde_json::to_string(&store.get_routers()).unwrap() }