Skip to content

Commit 224ca41

Browse files
committed
Remove superfluous clone()
1 parent ac50501 commit 224ca41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ impl Transport for HttpHandle {
345345
}
346346

347347
fn send(&self, json_data: Vec<u8>) -> Self::Future {
348-
let request = self.create_request(json_data.clone());
348+
let request = self.create_request(json_data);
349349
let (response_tx, response_rx) = oneshot::channel();
350350
let future = future::result(self.request_tx.unbounded_send((request, response_tx)))
351351
.map_err(|e| {

0 commit comments

Comments
 (0)