Skip to content

Commit 3f0927c

Browse files
bonziniBennoLossin
authored andcommitted
lib: do not mark new_uninit as required
new_uninit is stable as of 1.82.0, there is no need to require it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 70c371a commit 3f0927c

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ This library allows you to do in-place initialization safely.
3131
This library requires unstable features when the `alloc` or `std` features are enabled and thus
3232
can only be used with a nightly compiler. The internally used features are:
3333
- `allocator_api`
34-
- `new_uninit`
3534
- `get_mut_unchecked`
3635

3736
When enabling the `alloc` or `std` feature, the user will be required to activate these features:

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
//! This library requires unstable features when the `alloc` or `std` features are enabled and thus
2424
//! can only be used with a nightly compiler. The internally used features are:
2525
//! - `allocator_api`
26-
//! - `new_uninit`
2726
//! - `get_mut_unchecked`
2827
//!
2928
//! When enabling the `alloc` or `std` feature, the user will be required to activate these features:
@@ -237,7 +236,6 @@
237236
#![forbid(missing_docs, unsafe_op_in_unsafe_fn)]
238237
#![cfg_attr(not(feature = "std"), no_std)]
239238
#![cfg_attr(feature = "alloc", feature(allocator_api))]
240-
#![cfg_attr(feature = "alloc", feature(new_uninit))]
241239
#![cfg_attr(feature = "alloc", feature(get_mut_unchecked))]
242240

243241
#[cfg(feature = "alloc")]

0 commit comments

Comments
 (0)