We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ptr.add([usize])
ptr.offset([usize] as isize)
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ptr.sub([usize])
ptr.offset(-([usize] as isize))
ptr.wrapping_add([usize])
ptr.wrapping_offset([usize] as isize)
ptr.wrapping_sub([usize])
ptr.wrapping_offset(-([usize] as isize))
The text was updated successfully, but these errors were encountered:
New lint: Suggest ptr.add([usize]) over `ptr.offset([usize] as isiz…
e0c7eb7
…e)`. First part of rust-lang#3047.
5ebae01
offset
No branches or pull requests
Checklist
ptr.add([usize])
overptr.offset([usize] as isize)
ptr.sub([usize])
overptr.offset(-([usize] as isize))
ptr.wrapping_add([usize])
overptr.wrapping_offset([usize] as isize)
ptr.wrapping_sub([usize])
overptr.wrapping_offset(-([usize] as isize))
API links
The text was updated successfully, but these errors were encountered: