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
In the serialize crate, it seems that all implementations of tuples for the Encodable and Decodable traits are using {emit,read}_seq and {emit,read}_seq_elt. Should these implementations be using read_tuple (and others) instead? (It looks like read_tuple is never used.) Otherwise, using Encodable/Decodable it's impossible to distinguish between tuples and sequences.
The text was updated successfully, but these errors were encountered:
This commit moves from {read,emit}_seq for tuples to {read,emit}_tuple, as well
as providing a generalized macro for generating these implementations from one
invocation.
Closes#13086
In the
serialize
crate, it seems that all implementations of tuples for theEncodable
andDecodable
traits are using{emit,read}_seq
and{emit,read}_seq_elt
. Should these implementations be usingread_tuple
(and others) instead? (It looks likeread_tuple
is never used.) Otherwise, usingEncodable
/Decodable
it's impossible to distinguish between tuples and sequences.The text was updated successfully, but these errors were encountered: