Skip to content

Commit

Permalink
nested: fix compiling tests with Rust < 1.74
Browse files Browse the repository at this point in the history
  • Loading branch information
decathorpe committed Jan 30, 2024
1 parent 266b64b commit f2b4c33
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 f2b4c33

Please sign in to comment.