Skip to content

Clarify maximum pointer offset #117

New issue

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

Merged
merged 1 commit into from
Apr 15, 2019
Merged

Conversation

gnzlbg
Copy link
Contributor

@gnzlbg gnzlbg commented Apr 15, 2019

This should address @comex issue in #102 . Note that we currently don't guarantee anything, the changes are just to the note describing how things work in the current implementation. Guaranteeing anything would require an RFC.

@RalfJung
Copy link
Member

RalfJung commented Apr 15, 2019

Agreed, this also matches the docs at https://doc.rust-lang.org/std/primitive.pointer.html#method.add

@gnzlbg gnzlbg merged commit 50d530e into rust-lang:master Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants