Skip to content

Commit 066a0b9

Browse files
Simon-Lauxlink2xt
authored andcommitted
apply clippy suggestion
1 parent ad5df73 commit 066a0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ pub(crate) async fn handle_unilateral(
296296
unsolicited
297297
.send(UnsolicitedResponse::Status {
298298
mailbox: (mailbox.as_ref()).into(),
299-
attributes: status.iter().cloned().collect(),
299+
attributes: status.to_vec(),
300300
})
301301
.await
302302
.expect("Channel closed unexpectedly");

0 commit comments

Comments
 (0)