Skip to content

Commit

Permalink
dev: fix clippy warnings for: src/models/torrent.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed May 10, 2023
1 parent 269cd28 commit a0947d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/torrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use serde::{Deserialize, Serialize};
use crate::models::torrent_file::Torrent;
use crate::routes::torrent::CreateTorrent;

#[allow(clippy::module_name_repetitions)]
#[allow(dead_code)]
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
pub struct TorrentListing {
Expand All @@ -18,6 +19,7 @@ pub struct TorrentListing {
pub leechers: i64,
}

#[allow(clippy::module_name_repetitions)]
#[derive(Debug)]
pub struct TorrentRequest {
pub fields: CreateTorrent,
Expand Down

0 comments on commit a0947d0

Please sign in to comment.