aboutsummaryrefslogtreecommitdiff
path: root/src/export.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/export.rs')
-rw-r--r--src/export.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/export.rs b/src/export.rs
index 5550bde..cf7293b 100644
--- a/src/export.rs
+++ b/src/export.rs
@@ -72,9 +72,9 @@ pub struct MaybeUninit<T> {
#[cfg(feature = "nightly")]
impl<T> MaybeUninit<T> {
- pub const fn uninitialized() -> Self {
+ pub const fn uninit() -> Self {
MaybeUninit {
- inner: core::mem::MaybeUninit::uninitialized(),
+ inner: core::mem::MaybeUninit::uninit(),
}
}
@@ -102,7 +102,7 @@ const MSG: &str =
#[cfg(not(feature = "nightly"))]
impl<T> MaybeUninit<T> {
- pub const fn uninitialized() -> Self {
+ pub const fn uninit() -> Self {
MaybeUninit { value: None }
}