Skip to content

Commit a0947d0

Browse files
committed
dev: fix clippy warnings for: src/models/torrent.rs
1 parent 269cd28 commit a0947d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/models/torrent.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use serde::{Deserialize, Serialize};
33
use crate::models::torrent_file::Torrent;
44
use crate::routes::torrent::CreateTorrent;
55

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

22+
#[allow(clippy::module_name_repetitions)]
2123
#[derive(Debug)]
2224
pub struct TorrentRequest {
2325
pub fields: CreateTorrent,

0 commit comments

Comments
 (0)