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
Right now we return a u32 for the Encodable trait's size function. While I don't think we will ever go over that size, Rust more commonly uses usize for this functionality. I think it would make sense for us to change the return value here so that the function works more smoothly with Rust's built in ones.
The text was updated successfully, but these errors were encountered:
kilpatty
changed the title
encoding: consider size for Encodable
encoding: consider usize for Encodable
Jul 19, 2019
Right now we return a u32 for the Encodable trait's size function. While I don't think we will ever go over that size, Rust more commonly uses usize for this functionality. I think it would make sense for us to change the return value here so that the function works more smoothly with Rust's built in ones.
The text was updated successfully, but these errors were encountered: