chore: use .cast() instead of as for pointers
Open
- Dominant language
- Rust
- Stars
- 528
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
We should remove graphics anyways, but this casting can be done more succinctly by using https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.cast-1 and friends.
_Originally posted by @CGMossa in https://github.com/extendr/extendr/pull/965#discussion_r2463208754_
Contributor guide
Assessment
This issue has not been assessed yet.