Skip to content

Removing '&const' usage and cleaning up the ast#7342

Merged
bors merged 2 commits intorust-lang:masterfrom
alexcrichton:assort-cleanup
Jun 29, 2013
Merged

Removing '&const' usage and cleaning up the ast#7342
bors merged 2 commits intorust-lang:masterfrom
alexcrichton:assort-cleanup

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This removes usage of &const throughout the standard libraries/compiler, and it removes some extraneous fields in the AST now that unique boxes always inherit their mutability.

@brson
Copy link
Copy Markdown
Contributor

brson commented Jun 24, 2013

Is there an issue for removing &const?

@alexcrichton
Copy link
Copy Markdown
Member Author

@brson, not that I could find. From my understanding (which is likely incomplete), &const can and should be removed right now while *const may have a reason to stick around a little longer

bors added a commit that referenced this pull request Jun 29, 2013
This removes usage of `&const` throughout the standard libraries/compiler, and it removes some extraneous fields in the AST now that unique boxes always inherit their mutability.
@bors bors closed this Jun 29, 2013
@bors bors merged commit 3bad712 into rust-lang:master Jun 29, 2013
@bstrie bstrie mentioned this pull request Jul 10, 2013
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.

4 participants