summaryrefslogtreecommitdiff
path: root/include/ruby/internal/intern/complex.h
diff options
context:
space:
mode:
authorAiden Fox Ivey <aiden@aidenfoxivey.com>2025-04-02 21:28:13 -0400
committerTakashi Kokubun <takashikkbn@gmail.com>2025-04-18 21:53:01 +0900
commit32374b70fe04a98542f0a71c72e40b470b6ffb88 (patch)
treed9a8a1f77ad478740940faa0ef2059e43a63b4ea /include/ruby/internal/intern/complex.h
parentee3949ac3d505394a70ff1e66b8d5ed4a9e9db6f (diff)
Add miscellaneous Clippy 'corrections' (https://github.com/Shopify/zjit/pull/92)
* Remove redundant statements * Remove .clone() since A64 implements Copy * Remove .clone() since InsnId implements Copy . * Dereference since *const rb_call_data implements Copy * Remove unnecessary return statement * Remove unnecessary braces * Use .is_empty() over length checks * Remove unnecessary conversion handling Since i32 can always fit into i64 (the inner type in Opnd::Imm), the conversion is infallibile. * Use slice notation in lieu of Vec https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg * Simplify match statement
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13131
Diffstat (limited to 'include/ruby/internal/intern/complex.h')
0 files changed, 0 insertions, 0 deletions