eliminate wrapping arithmetic (deser.rs)
commit89926315a52b76ea76867371514b54d60ccd92c2
authorShayne Fletcher <shaynefletcher@fb.com>
Tue, 6 Sep 2022 23:03:33 +0000 (6 16:03 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 6 Sep 2022 23:03:33 +0000 (6 16:03 -0700)
treecee525ece139bdf31c689d5ac09142d1c9e25c78
parentf9e6f2c8af3e0b52f36c4a04778092ab6531792b
eliminate wrapping arithmetic (deser.rs)

Summary: we aim to replace wrapping arithmetic operations with rust default arithmetic operations everywhere except where exactly wrapping behavior is intended (hash). this includes pointer offset wrapping

Differential Revision: D39214293

fbshipit-source-id: c3aedd4bc306b8999b444478c2692a11f800c64f
hphp/hack/src/ocamlrep_marshal/deser.rs