Skip to content

Commit

Permalink
Remove referencing the reference
Browse files Browse the repository at this point in the history
  • Loading branch information
alexohneander committed Jul 31, 2023
1 parent a15af48 commit 7db0275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ pub fn http_status_code_for_service_error(error: &ServiceError) -> StatusCode {
ServiceError::InvalidTorrentFile => StatusCode::BAD_REQUEST,
ServiceError::InvalidTorrentPiecesLength => StatusCode::BAD_REQUEST,
ServiceError::InvalidFileType => StatusCode::BAD_REQUEST,
&ServiceError::InvalidTorrentTitleLength => StatusCode::BAD_REQUEST,
ServiceError::InvalidTorrentTitleLength => StatusCode::BAD_REQUEST,
ServiceError::BadRequest => StatusCode::BAD_REQUEST,
ServiceError::InvalidCategory => StatusCode::BAD_REQUEST,
ServiceError::InvalidTag => StatusCode::BAD_REQUEST,
Expand Down

0 comments on commit 7db0275

Please sign in to comment.