Skip to content
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

Update for field reordering #43

Merged
merged 2 commits into from
Dec 4, 2017
Merged

Update for field reordering #43

merged 2 commits into from
Dec 4, 2017

Conversation

bennyyip
Copy link
Contributor

@Gankra
Copy link
Contributor

Gankra commented Dec 4, 2017

Hey sorry for the delay! I think it would be better to just remove the note altogether? I think I just added this to avoid getting complaints about "why doesn't the compiler do this the book said so!"

what do you think?

@bennyyip
Copy link
Contributor Author

bennyyip commented Dec 4, 2017

Great idea! Moreover, maybe we should replace it with something like: "Rust compiler does field reordering when not using repr(c)", make it more clear to the reader.

@Gankra
Copy link
Contributor

Gankra commented Dec 4, 2017

I think that's the whole point of this section, (and the one on repr(C)), so I don't think that will be necessary.

@bennyyip
Copy link
Contributor Author

bennyyip commented Dec 4, 2017

Ok, I removed the notes.

Copy link
Contributor

@Gankra Gankra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

2 participants