Skip to content

Commit 258fba6

Browse files
committed
Fix deprecation message for raw_data
1 parent 1cab7d2 commit 258fba6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/impl_methods.rs

+4
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,8 @@ impl<A, S, D> ArrayBase<S, D> where S: Data<Elem=A>, D: Dimension
913913
self.view().reversed_axes()
914914
}
915915

916+
/// ***Deprecated: Use .as_slice_memory_order() instead.***
917+
///
916918
/// Return a slice of the array’s backing data in memory order.
917919
///
918920
/// **Note:** Data memory order may not correspond to the index order
@@ -925,6 +927,8 @@ impl<A, S, D> ArrayBase<S, D> where S: Data<Elem=A>, D: Dimension
925927
self.data.slice()
926928
}
927929

930+
/// ***Deprecated: Use .as_slice_memory_order_mut() instead.***
931+
///
928932
/// Return a mutable slice of the array’s backing data in memory order.
929933
///
930934
/// **Note:** Data memory order may not correspond to the index order

0 commit comments

Comments
 (0)