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 as conversions in our protocol code our quite dangerous and I think we might have a few integer overflow bugs in there. In general I think we should replace all as conversions with From and TryFrom to make it clear if the conversion can fail or not. There is also a clippy lint as_conversions which should be added to our code base to prevent regressions.
The text was updated successfully, but these errors were encountered:
The
as
conversions in our protocol code our quite dangerous and I think we might have a few integer overflow bugs in there. In general I think we should replace allas
conversions withFrom
andTryFrom
to make it clear if the conversion can fail or not. There is also a clippy lintas_conversions
which should be added to our code base to prevent regressions.The text was updated successfully, but these errors were encountered: