Skip to content

Commit 723ae8e

Browse files
committed
Fix docs for SliceInfo::new_unchecked()
1 parent 70effa7 commit 723ae8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/slice.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ where
319319
{
320320
/// Returns a new `SliceInfo` instance.
321321
///
322-
/// If you call this method, you are guaranteeing that `out_dim` and
323-
/// `out_ndim` are consistent with `indices`.
322+
/// If you call this method, you are guaranteeing that `out_dim` is
323+
/// consistent with `indices`.
324324
#[doc(hidden)]
325325
pub unsafe fn new_unchecked(indices: T, out_dim: PhantomData<D>) -> SliceInfo<T, D> {
326326
SliceInfo {

0 commit comments

Comments
 (0)