Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit fedc6ac

Browse files
committed
remove unnecessary clones
1 parent 109b3f6 commit fedc6ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bottomless/src/read.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ async fn upload_s3_parts(
174174
.upload_part()
175175
.bucket(bucket)
176176
.key(key)
177-
.upload_id(upload_id.clone())
177+
.upload_id(upload_id)
178178
.body(ByteStream::from(buffer.freeze()))
179179
.part_number(part + 1)
180180
.send()
@@ -208,7 +208,7 @@ async fn upload_s3_parts(
208208
.upload_part()
209209
.bucket(bucket)
210210
.key(key)
211-
.upload_id(upload_id.clone())
211+
.upload_id(upload_id)
212212
.body(ByteStream::from_path(last_chunk_file.path()).await?)
213213
.part_number(LAST_PART)
214214
.send()

0 commit comments

Comments
 (0)