Skip to content

Conversation

alexcrichton
Copy link
Member

This is the last beta-nominated/beta-accepted we've got listed, so this is the backport of #25187.

r? @brson

alexcrichton and others added 4 commits May 10, 2015 23:16
This commit is an implementation of [RFC 1066][rfc] where the conclusion was
that leaking a value is a safe operation in Rust code, so updating the signature
of this function follows suit.

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/1066-safe-mem-forget.md

Closes rust-lang#25186
…orrow instead of AsRef

Conflicts:
	src/libcollections/slice.rs
	src/libcollections/str.rs
@alexcrichton
Copy link
Member Author

Er actually, I just noticed we have a few beta-nominated but not accepted, so I've included two nominated PRs which I suspect will also be accepted, cc @aturon

@alexcrichton
Copy link
Member Author

I've removed #25212 as there was a conflict which caused a build failure, and @pnkfelix will take over doing the backport in a separate PR.

brson added a commit that referenced this pull request May 11, 2015
@brson brson merged commit fd815b7 into rust-lang:beta May 11, 2015
@alexcrichton alexcrichton deleted the beta-backport branch May 11, 2015 18:22
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.

3 participants