Skip to content

Commit

Permalink
Fix test for Rust 1.56.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jun 14, 2024
1 parent 303e938 commit 5a482b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ fn test_default() {

let bytes = [255u8; 4];
test.byte_array = bytes.into();
test.bytes = bytes.as_slice().into();
test.bytes = (&bytes[..]).into();
test.byte_buf = bytes.into();

assert_tokens(
Expand Down

0 comments on commit 5a482b4

Please sign in to comment.