extendr / extendr/extendr

chore: use .cast() instead of as for pointers

Open
#969 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.