Skip to content

fix UB in from_raw_parts_mut example#1492

Merged
carols10cents merged 4 commits intorust-lang:masterfrom
RalfJung:from_raw_parts
Aug 22, 2018
Merged

fix UB in from_raw_parts_mut example#1492
carols10cents merged 4 commits intorust-lang:masterfrom
RalfJung:from_raw_parts

Conversation

@RalfJung
Copy link
Member

This fixes fallout from rust-lang/rust#52972.

It also updates the README to match what the issue template says about the second edition.

@RalfJung
Copy link
Member Author

The same code also appears on the "nostarch" subdirectory, not sure if I am supposed to do anything with that.

@RalfJung
Copy link
Member Author

Test failure is a timeout. Restarting.

@RalfJung RalfJung closed this Aug 19, 2018
@RalfJung RalfJung reopened this Aug 19, 2018
@carols10cents
Copy link
Member

Thanks! Don't worry about the nostarch dir.

@carols10cents carols10cents merged commit 16c9dee into rust-lang:master Aug 22, 2018
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