From 38a1d7aef3c3069fe496e41ed95c9fc5ed140bb7 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Fri, 27 Oct 2023 11:39:42 +0100 Subject: [PATCH] fix: temporarily disable clippy error It should be fixed in a different PR. --- tests/common/contexts/torrent/responses.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/common/contexts/torrent/responses.rs b/tests/common/contexts/torrent/responses.rs index f95d67ce..48eaf295 100644 --- a/tests/common/contexts/torrent/responses.rs +++ b/tests/common/contexts/torrent/responses.rs @@ -70,7 +70,8 @@ pub struct TorrentDetails { #[derive(Deserialize, PartialEq, Debug)] pub struct Category { - pub category_id: CategoryId, + #[allow(clippy::struct_field_names)] + pub category_id: CategoryId, // todo: rename to avoid clippy error pub name: String, pub num_torrents: u64, }