Skip to content

Commit 284985f

Browse files
committed
minor: fix compatibility with older Rust versions
1 parent b476bbb commit 284985f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/auth/aws.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub(super) async fn authenticate_stream(
3939
let nonce = auth::generate_nonce_bytes();
4040

4141
let client_first_payload = doc! {
42-
"r": Binary { subtype: BinarySubtype::Generic, bytes: nonce.clone().into() },
42+
"r": Binary { subtype: BinarySubtype::Generic, bytes: nonce.clone().to_vec() },
4343
// `110` is ASCII for the character `n`, which is required by the spec to indicate that
4444
// channel binding is not supported.
4545
"p": 110i32,

0 commit comments

Comments
 (0)