Skip to content

Commit f739657

Browse files
committed
#72: Change MIN_TORRENT_TITLE_LENGTH type from u32 to usize for Rust compatibility
1 parent 1828883 commit f739657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/torrent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::models::user::UserId;
1818
use crate::tracker::statistics_importer::StatisticsImporter;
1919
use crate::{tracker, AsCSV};
2020

21-
const MIN_TORRENT_TITLE_LENGTH: u32 = 3;
21+
const MIN_TORRENT_TITLE_LENGTH: usize = 3;
2222

2323
pub struct Index {
2424
configuration: Arc<Configuration>,

0 commit comments

Comments
 (0)