Skip to content

Commit 1cf7963

Browse files
committed
API: Add RcArray deprecation on its type aliases too
1 parent 7fbe2fe commit 1cf7963

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/aliases.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ pub type ArrayViewMutD<'a, A> = ArrayViewMut<'a, A, IxDyn>;
149149

150150
/// one-dimensional shared ownership array
151151
#[allow(deprecated)]
152+
#[deprecated(note="`RcArray` has been renamed to `ArcArray`")]
152153
pub type RcArray1<A> = RcArray<A, Ix1>;
153154
/// two-dimensional shared ownership array
154155
#[allow(deprecated)]
156+
#[deprecated(note="`RcArray` has been renamed to `ArcArray`")]
155157
pub type RcArray2<A> = RcArray<A, Ix2>;

0 commit comments

Comments
 (0)