Fix some clippy lint.
commit7c65f54ed2316ddcf61f64d917ad6f28f3c23408
authorEdwin Smith <smith@fb.com>
Wed, 26 Jan 2022 14:47:24 +0000 (26 06:47 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 26 Jan 2022 15:23:58 +0000 (26 07:23 -0800)
tree30f57385bcc0bab118cab97bb5de295fd5d2d9ee
parent4f1413ed6fb3c98989dfa70b24ecad2b477e248d
Fix some clippy lint.

Summary:
For some reason, the other day, I decided to run clippy on the hack Rust codebase
to see what turned up. This is the result of a first pass of easy fixes.

Differential Revision: D33740377

fbshipit-source-id: 3c2462f1578abfc69fd7f44df8a4a4abbceec6e7
hphp/hack/src/generate_full_fidelity_data.ml
hphp/hack/src/hackc/emitter/typed_value.rs
hphp/hack/src/parser/schema/full_fidelity_schema_version_number.rs
hphp/hack/src/utils/core/utils.rs
hphp/hack/src/utils/ocaml_helper.rs
hphp/hack/src/utils/perf/profile.rs
hphp/hack/src/utils/stack_limit/retry.rs