You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following should fail as the array is of length two but three elements are provided.
let err = Value::Seq(vec![Value::Number(Number::new(1)),Value::Number(Number::new(2)),Value::Number(Number::new(3)),]).into_rust::<[i32;2]>().unwrap_err();
However, deserialising succeeds.
The text was updated successfully, but these errors were encountered:
The following should fail as the array is of length two but three elements are provided.
However, deserialising succeeds.
The text was updated successfully, but these errors were encountered: