Skip to content

Commit 8db15b1

Browse files
committed
Remove useless inline attributes rust-ndarray#642
1 parent fdf984b commit 8db15b1

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/dimension/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,13 +266,11 @@ pub trait DimensionExt {
266266
/// Get the dimension at `axis`.
267267
///
268268
/// *Panics* if `axis` is out of bounds.
269-
#[inline]
270269
fn axis(&self, axis: Axis) -> Ix;
271270

272271
/// Set the dimension at `axis`.
273272
///
274273
/// *Panics* if `axis` is out of bounds.
275-
#[inline]
276274
fn set_axis(&mut self, axis: Axis, value: Ix);
277275
}
278276

src/zip/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ pub trait NdProducer {
178178
#[doc(hidden)]
179179
fn stride_of(&self, axis: Axis) -> <Self::Ptr as Offset>::Stride;
180180
#[doc(hidden)]
181-
#[inline(always)]
182181
fn contiguous_stride(&self) -> Self::Stride;
183182
#[doc(hidden)]
184183
fn split_at(self, axis: Axis, index: usize) -> (Self, Self)

0 commit comments

Comments
 (0)