From a419d30835c633a4f601baa1017496475fa9afba Mon Sep 17 00:00:00 2001 From: Anatolii Kurotych Date: Thu, 24 Oct 2024 09:05:58 +0300 Subject: [PATCH] Fix clippy --- mobile_config/tests/gateway_service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile_config/tests/gateway_service.rs b/mobile_config/tests/gateway_service.rs index 832da6825..c51047aaa 100644 --- a/mobile_config/tests/gateway_service.rs +++ b/mobile_config/tests/gateway_service.rs @@ -150,7 +150,7 @@ async fn gateway_stream_info_data_types(pool: PgPool) { i64::from_str_radix(&gw_info.metadata.clone().unwrap().location, 16).unwrap(), asset1_hex_idx ); - assert_eq!(stream.next().await.is_none(), true); + assert!(stream.next().await.is_none()); // Check wifi data only let req = make_gateway_stream_signed_req(&admin_key, &[DeviceType::WifiDataOnly]);