Skip to content

Commit 1912bd9

Browse files
committed
API: Remove deprecated .rows() and .cols()
Use replacements .nrows() and .ncols() respectively
1 parent d237595 commit 1912bd9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/impl_2d.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ where
5858
self.len_of(Axis(0))
5959
}
6060

61-
/// Return the number of rows (length of `Axis(0)`) in the two-dimensional array.
62-
#[deprecated(note = "Renamed to .nrows(), please use the new name")]
63-
pub fn rows(&self) -> usize {
64-
self.nrows()
65-
}
66-
6761
/// Return an array view of column `index`.
6862
///
6963
/// **Panics** if `index` is out of bounds.
@@ -108,12 +102,6 @@ where
108102
self.len_of(Axis(1))
109103
}
110104

111-
/// Return the number of columns (length of `Axis(1)`) in the two-dimensional array.
112-
#[deprecated(note = "Renamed to .ncols(), please use the new name")]
113-
pub fn cols(&self) -> usize {
114-
self.ncols()
115-
}
116-
117105
/// Return true if the array is square, false otherwise.
118106
///
119107
/// # Examples

0 commit comments

Comments
 (0)