Skip to content

Commit

Permalink
chore: disable clippy error until we fix it
Browse files Browse the repository at this point in the history
Relates to: #388
  • Loading branch information
josecelano committed Jan 3, 2024
1 parent 35b079f commit 7620ed1
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tests/common/contexts/torrent/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,9 @@ pub struct TorrentDetails {
pub encoding: Option<String>,
}

#[rustversion::stable]
#[derive(Deserialize, PartialEq, Debug)]
pub struct Category {
pub category_id: CategoryId, // todo: rename to `id`
pub name: String,
pub num_torrents: u64,
}

#[rustversion::nightly]
#[derive(Deserialize, PartialEq, Debug)]
#[allow(unknown_lints)]
#[allow(clippy::struct_field_names)]
#[derive(Deserialize, PartialEq, Debug)]
pub struct Category {
pub category_id: CategoryId, // todo: rename to `id`
pub name: String,
Expand Down

0 comments on commit 7620ed1

Please sign in to comment.