We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd6cae0 commit 0275934Copy full SHA for 0275934
src/impl_constructors.rs
@@ -467,6 +467,9 @@ where
467
468
/// Create an array with uninitalized elements, shape `shape`.
469
///
470
+ /// Prefer to use [`maybe_uninit()`](ArrayBase::maybe_uninit) if possible, because it is
471
+ /// easier to use correctly.
472
+ ///
473
/// **Panics** if the number of elements in `shape` would overflow isize.
474
475
/// ### Safety
0 commit comments