You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raw pointers (*const T and *mut T) used to primarily support operations operating in units of T. In some cases, working with byte offsets is more convenient, and these new APIs avoid requiring callers to cast to *const u8/*mut u8 first.
For more cleaned API better to switch for that use. Since Rust v1.75.0
The text was updated successfully, but these errors were encountered:
sigrlami
changed the title
Upgrade to use byte offset instead on raw pointers instead of
Upgrade to use byte offset on raw pointers instead of shift
Jan 24, 2024
sigrlami
changed the title
Upgrade to use byte offset on raw pointers instead of shift
Upgrade to use byte offset on raw pointers instead of shifts
Jan 24, 2024
Raw pointers
(*const T and *mut T)
used to primarily support operations operating in units of T. In some cases, working with byte offsets is more convenient, and these new APIs avoid requiring callers to cast to*const u8/*mut u8
first.For more cleaned API better to switch for that use. Since Rust v1.75.0
The text was updated successfully, but these errors were encountered: