Skip to content

Commit a011255

Browse files
committed
clean(upload): remove not needed return
1 parent 278e3db commit a011255

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/redacted/upload.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl Into<Form> for TorrentUploadData {
2323
fn into(self) -> Form {
2424
let torrent_part = Part::bytes(self.torrent).file_name(self.torrent_name);
2525

26-
return Form::new()
26+
Form::new()
2727
.part("file_input", torrent_part)
2828
.text("type", self.r#type.as_int().to_string())
2929
.text("remaster_title", self.remaster_title)
@@ -34,6 +34,6 @@ impl Into<Form> for TorrentUploadData {
3434
.text("bitrate", self.bitrate)
3535
.text("media", self.media)
3636
.text("release_desc", self.release_desc)
37-
.text("groupid", self.group_id.to_string());
37+
.text("groupid", self.group_id.to_string())
3838
}
3939
}

0 commit comments

Comments
 (0)