diff options
author | Ian Ker-Seymer <[email protected]> | 2023-01-12 10:14:17 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2023-01-12 10:14:17 -0500 |
commit | 8d3ff663899211c9c0ca2a8cf7d994e7acd3f83e (patch) | |
tree | e5adcd4caac67e4e570183b13a17d49b4821d884 /yjit/src/cruby.rs | |
parent | bfc887f391fde6de9d088039509f6e3eaa40b3ca (diff) |
Enable `clippy` checks for yjit in CI (#7093)
* Add job to check clippy lints in CI
* Address all remaining clippy lints
* Check lints on arm64 as well
* Apply latest clippy lints
* Do not exit 0 on clippy warnings
Notes
Notes:
Merged-By: maximecb <[email protected]>
Diffstat (limited to 'yjit/src/cruby.rs')
-rw-r--r-- | yjit/src/cruby.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/cruby.rs b/yjit/src/cruby.rs index ba09d4119f..ee6fa14031 100644 --- a/yjit/src/cruby.rs +++ b/yjit/src/cruby.rs @@ -450,7 +450,7 @@ impl VALUE { pub fn as_usize(self) -> usize { let VALUE(us) = self; - us as usize + us } pub fn as_ptr<T>(self) -> *const T { |