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

Document RFC 1440. #166

Merged
merged 2 commits into from
Dec 5, 2017
Merged

Document RFC 1440. #166

merged 2 commits into from
Dec 5, 2017

Conversation

Havvy
Copy link
Contributor

@Havvy Havvy commented Dec 1, 2017

AFAIK, this was stabilized in what is currently beta, so the reference will be out of date for six weeks.

I'm not entirely happy with what I've written, but I'm also not altogether happy with how the static and const sections are currently written, and will go back at some point to organize them a bit better. Likewise with destructors.

@Havvy Havvy added the New Content Missing features or aspects of language not currently documented. label Dec 1, 2017
Static items may be placed in read-only memory if they do not contain any
interior mutability.
Static items may be placed in read-only memory if the type is not [interior
mutable]. Static items do not call `drop` at the end of the program.
Copy link
Member

Choose a reason for hiding this comment

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

Have we ever used "interior mutable" as an adjective before? I always thought the term was always "interior mutability", as a noun.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think we do, but it is a natural analog to interior mutability.

Copy link
Member

Choose a reason for hiding this comment

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

It's a shame "interiorally" isn't a word, otherwise that's what i would suggest. With our conversation on IRC, i'm willing to call this okay. Farther bikeshedding of how to decline "interior mutability" can occur elsewhere.

@QuietMisdreavus QuietMisdreavus merged commit cf2fbba into rust-lang:master Dec 5, 2017
@Havvy Havvy deleted the rfc-1440 branch December 5, 2017 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Content Missing features or aspects of language not currently documented.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants