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

Remove use of soon-to-be-deprecated unstable feature #26190

Merged
merged 4 commits into from Apr 16, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Remove use of soon-to-be-deprecated unstable feature

  • Loading branch information
SimonSapin committed Apr 15, 2020
commit 7861b0be7900df6c7dbf8d4dac8ba14a8d4e3a56
@@ -383,7 +383,7 @@ where
#[allow(unrooted_must_root)]
pub unsafe fn from_box(value: Box<T>) -> Self {
Self {
ptr: Box::into_raw_non_null(value),
ptr: Box::leak(value).into(),
}
}
}
@@ -2,7 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

#![feature(box_into_raw_non_null)]
#![feature(const_fn)]
#![feature(const_transmute)]
#![feature(core_intrinsics)]
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.