Skip to content

Commit a21a1c0

Browse files
jyn514Joshua Nelson
authored and
Joshua Nelson
committed
Remove unnecessary clone
1 parent e83c060 commit a21a1c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db/file.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pub fn add_path_into_database<P: AsRef<Path>>(conn: &Connection,
197197
futures.push(client.put_object(PutObjectRequest {
198198
bucket: S3_BUCKET_NAME.into(),
199199
key: bucket_path.clone(),
200-
body: Some(content.clone().into()),
200+
body: Some(content.into()),
201201
content_type: Some(mime.to_owned()),
202202
..Default::default()
203203
}).inspect(|_| {

0 commit comments

Comments
 (0)