Skip to content

Blog for Rust 1.50.0 #771

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 8 commits into from
Feb 11, 2021
Merged

Blog for Rust 1.50.0 #771

merged 8 commits into from
Feb 11, 2021

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Jan 28, 2021

r? @rust-lang/release @rust-lang/core

@cuviper cuviper requested a review from a team January 28, 2021 01:20
@CryZe
Copy link
Contributor

CryZe commented Jan 28, 2021

What about You can now use const values for x in [x; N] array expressions.? Seems like a pretty big deal considering it has always been kinda difficult to initialize arrays.

Co-authored-by: Camelid <camelidcamel@gmail.com>
Co-authored-by: Jacob Lifshay <programmerjake@gmail.com>
Co-authored-by: lzutao <15225902+lzutao@users.noreply.github.com>
which variant is valid (they don't drop any old value on assignment), so
safe Rust has limited this to `Copy` types only, which never `Drop`. Of
course, that's also true of `ManuallyDrop`, so now Rust 1.50 allows safe
assignments to these fields as well.
Copy link
Member

Choose a reason for hiding this comment

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

Can we split the first sentence of this paragraph up? I think it's carrying a lot of weight right now in a relatively short space and would be nice to add some breaks for readers.

Copy link
Member Author

Choose a reason for hiding this comment

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

I split and rearranged this a bit.

Co-authored-by: Camelid <camelidcamel@gmail.com>
Copy link
Member

@Mark-Simulacrum Mark-Simulacrum left a comment

Choose a reason for hiding this comment

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

Looking good modulo one small nit - I think maybe just cutting the sentence early is best.

@Mark-Simulacrum Mark-Simulacrum merged commit ad49ffb into rust-lang:master Feb 11, 2021
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.

8 participants