Skip to content

Commit ddc8271

Browse files
committed
Remove deprecated visit and genrows/gencolumns/_mut
Visit replaced by map, genrows/gencolumns by rows/columns.
1 parent 6fc3f24 commit ddc8271

File tree

1 file changed

+0
-50
lines changed

1 file changed

+0
-50
lines changed

src/impl_methods.rs

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,13 +1119,6 @@ where
11191119
Lanes::new(self.view(), Axis(n - 1))
11201120
}
11211121

1122-
#[deprecated(note = "Renamed to .rows()", since = "0.15.0")]
1123-
pub fn genrows(&self) -> Lanes<'_, A, D::Smaller>
1124-
where S: Data
1125-
{
1126-
self.rows()
1127-
}
1128-
11291122
/// Return a producer and iterable that traverses over the *generalized*
11301123
/// rows of the array and yields mutable array views.
11311124
///
@@ -1140,13 +1133,6 @@ where
11401133
LanesMut::new(self.view_mut(), Axis(n - 1))
11411134
}
11421135

1143-
#[deprecated(note = "Renamed to .rows_mut()", since = "0.15.0")]
1144-
pub fn genrows_mut(&mut self) -> LanesMut<'_, A, D::Smaller>
1145-
where S: DataMut
1146-
{
1147-
self.rows_mut()
1148-
}
1149-
11501136
/// Return a producer and iterable that traverses over the *generalized*
11511137
/// columns of the array. For a 2D array these are the regular columns.
11521138
///
@@ -1179,17 +1165,6 @@ where
11791165
Lanes::new(self.view(), Axis(0))
11801166
}
11811167

1182-
/// Return a producer and iterable that traverses over the *generalized*
1183-
/// columns of the array. For a 2D array these are the regular columns.
1184-
///
1185-
/// Renamed to `.columns()`
1186-
#[deprecated(note = "Renamed to .columns()", since = "0.15.0")]
1187-
pub fn gencolumns(&self) -> Lanes<'_, A, D::Smaller>
1188-
where S: Data
1189-
{
1190-
self.columns()
1191-
}
1192-
11931168
/// Return a producer and iterable that traverses over the *generalized*
11941169
/// columns of the array and yields mutable array views.
11951170
///
@@ -1200,17 +1175,6 @@ where
12001175
LanesMut::new(self.view_mut(), Axis(0))
12011176
}
12021177

1203-
/// Return a producer and iterable that traverses over the *generalized*
1204-
/// columns of the array and yields mutable array views.
1205-
///
1206-
/// Renamed to `.columns_mut()`
1207-
#[deprecated(note = "Renamed to .columns_mut()", since = "0.15.0")]
1208-
pub fn gencolumns_mut(&mut self) -> LanesMut<'_, A, D::Smaller>
1209-
where S: DataMut
1210-
{
1211-
self.columns_mut()
1212-
}
1213-
12141178
/// Return a producer and iterable that traverses over all 1D lanes
12151179
/// pointing in the direction of `axis`.
12161180
///
@@ -2942,20 +2906,6 @@ where
29422906
self.fold((), move |(), elt| f(elt))
29432907
}
29442908

2945-
/// Visit each element in the array by calling `f` by reference
2946-
/// on each element.
2947-
///
2948-
/// Elements are visited in arbitrary order.
2949-
#[deprecated(note = "Renamed to .for_each()", since = "0.15.0")]
2950-
pub fn visit<'a, F>(&'a self, f: F)
2951-
where
2952-
F: FnMut(&'a A),
2953-
A: 'a,
2954-
S: Data,
2955-
{
2956-
self.for_each(f)
2957-
}
2958-
29592909
/// Fold along an axis.
29602910
///
29612911
/// Combine the elements of each subview with the previous using the `fold`

0 commit comments

Comments
 (0)