From 17d8ff199e455f488e9f155434956185f8444dd4 Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Sat, 15 Jun 2024 09:22:02 +0800 Subject: [PATCH] ci: clippy --- viz-core/tests/handler.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/viz-core/tests/handler.rs b/viz-core/tests/handler.rs index 51f13c1..3d12817 100644 --- a/viz-core/tests/handler.rs +++ b/viz-core/tests/handler.rs @@ -320,9 +320,11 @@ async fn handler() -> Result<()> { assert!(!y.is_empty()); assert!(!v.is_empty()); + + let _ = v.last().unwrap().call(Request::default()).await; } - it_works().await; + let _: () = it_works().await; Ok(()) }