Skip to content

Commit

Permalink
torrust#72: Change MIN_TORRENT_TITLE_LENGTH type from u32 to usize fo…
Browse files Browse the repository at this point in the history
…r Rust compatibility
  • Loading branch information
alexohneander committed Jul 31, 2023
1 parent 1828883 commit f739657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/torrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use crate::models::user::UserId;
use crate::tracker::statistics_importer::StatisticsImporter;
use crate::{tracker, AsCSV};

const MIN_TORRENT_TITLE_LENGTH: u32 = 3;
const MIN_TORRENT_TITLE_LENGTH: usize = 3;

pub struct Index {
configuration: Arc<Configuration>,
Expand Down

0 comments on commit f739657

Please sign in to comment.