Skip to content

Commit

Permalink
Merge pull request #188 from decathorpe/main
Browse files Browse the repository at this point in the history
nested: fix compiling tests with Rust < 1.74
  • Loading branch information
KodrAus authored Jan 31, 2024
2 parents 266b64b + f2b4c33 commit e6c55d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nested/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,7 @@ mod tests {
#[cfg(feature = "alloc")]
fn stream_binary_owned() {
assert_eq!(
Value::Binary(Cow::Owned(b"owned".into())),
Value::Binary(Cow::Owned(b"owned".to_vec())),
ToValue::default()
.value_ref(&{
struct Binary;
Expand Down

0 comments on commit e6c55d3

Please sign in to comment.