@@ -53,8 +53,8 @@ macro_rules! json_compatible {
5353
5454 // SAFETY: Below we assert that these types are JSON compatible by generating arbitrary
5555 // structs, encoding in one, and then decoding in the other.
56- unsafe impl $crate:: durable:: upgrade:: wire_compatible :: JsonCompatible < $b $( :: $b_sub) * > for $a $( :: $a_sub) * { }
57- unsafe impl $crate:: durable:: upgrade:: wire_compatible :: JsonCompatible < $a $( :: $a_sub) * > for $b $( :: $b_sub) * { }
56+ unsafe impl $crate:: durable:: upgrade:: json_compatible :: JsonCompatible < $b $( :: $b_sub) * > for $a $( :: $a_sub) * { }
57+ unsafe impl $crate:: durable:: upgrade:: json_compatible :: JsonCompatible < $a $( :: $a_sub) * > for $b $( :: $b_sub) * { }
5858
5959 :: paste:: paste! {
6060 :: proptest:: proptest! {
@@ -72,7 +72,7 @@ macro_rules! json_compatible {
7272
7373 // Maybe superfluous, but this is a method called in production.
7474 let b_decoded = b_decoded. expect( "asserted Ok" ) ;
75- let b_converted: $b $( :: $b_sub) * = $crate:: durable:: upgrade:: wire_compatible :: JsonCompatible :: convert( & a) ;
75+ let b_converted: $b $( :: $b_sub) * = $crate:: durable:: upgrade:: json_compatible :: JsonCompatible :: convert( & a) ;
7676 assert_eq!( b_decoded, b_converted) ;
7777
7878 let b_bytes = :: serde_json:: to_vec( & b_decoded) . expect( "JSON serializable" ) ;
@@ -88,7 +88,7 @@ macro_rules! json_compatible {
8888
8989 // Maybe superfluous, but this is a method called in production.
9090 let a_decoded = a_decoded. expect( "asserted Ok" ) ;
91- let a_converted: $a $( :: $a_sub) * = $crate:: durable:: upgrade:: wire_compatible :: JsonCompatible :: convert( & b) ;
91+ let a_converted: $a $( :: $a_sub) * = $crate:: durable:: upgrade:: json_compatible :: JsonCompatible :: convert( & b) ;
9292 assert_eq!( a_decoded, a_converted) ;
9393
9494 let a_bytes = :: serde_json:: to_vec( & a_decoded) . expect( "JSON serializable" ) ;
0 commit comments