@@ -540,7 +540,7 @@ where
540
540
}
541
541
542
542
543
- /// Create an array with uninitalized elements, shape `shape`.
543
+ /// Create an array with uninitialized elements, shape `shape`.
544
544
///
545
545
/// The uninitialized elements of type `A` are represented by the type `MaybeUninit<A>`,
546
546
/// an easier way to handle uninit values correctly.
@@ -598,7 +598,7 @@ where
598
598
}
599
599
}
600
600
601
- /// Create an array with uninitalized elements, shape `shape`.
601
+ /// Create an array with uninitialized elements, shape `shape`.
602
602
///
603
603
/// The uninitialized elements of type `A` are represented by the type `MaybeUninit<A>`,
604
604
/// an easier way to handle uninit values correctly.
@@ -634,7 +634,7 @@ where
634
634
635
635
#[ deprecated( note = "This method is hard to use correctly. Use `uninit` instead." ,
636
636
since = "0.15.0" ) ]
637
- /// Create an array with uninitalized elements, shape `shape`.
637
+ /// Create an array with uninitialized elements, shape `shape`.
638
638
///
639
639
/// Prefer to use [`uninit()`](ArrayBase::uninit) if possible, because it is
640
640
/// easier to use correctly.
@@ -643,7 +643,7 @@ where
643
643
///
644
644
/// ### Safety
645
645
///
646
- /// Accessing uninitalized values is undefined behaviour. You must overwrite *all* the elements
646
+ /// Accessing uninitialized values is undefined behaviour. You must overwrite *all* the elements
647
647
/// in the array after it is created; for example using
648
648
/// [`raw_view_mut`](ArrayBase::raw_view_mut) or other low-level element access.
649
649
///
@@ -676,7 +676,7 @@ where
676
676
S : DataOwned < Elem = MaybeUninit < A > > ,
677
677
D : Dimension ,
678
678
{
679
- /// Create an array with uninitalized elements, shape `shape`.
679
+ /// Create an array with uninitialized elements, shape `shape`.
680
680
///
681
681
/// This method has been renamed to `uninit`
682
682
#[ deprecated( note = "Renamed to `uninit`" , since = "0.15.0" ) ]
0 commit comments