Skip to content

Commit e763799

Browse files
committed
controllers/krate/publish: Remove obsolete tarball_bytes.clone() call
1 parent 703f6a0 commit e763799

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/controllers/krate/publish.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ pub async fn publish(app: AppState, req: BytesRequest) -> AppResult<Json<GoodCra
152152
}
153153

154154
let pkg_name = format!("{}-{}", &*metadata.name, &version_string);
155-
let tarball_bytes = tarball_bytes.clone();
156155
let tarball_info =
157156
process_tarball(&pkg_name, &*tarball_bytes, maximums.max_unpack_size).await?;
158157

0 commit comments

Comments
 (0)