Skip to content

Commit

Permalink
Remove useless inline attributes rust-ndarray#642
Browse files Browse the repository at this point in the history
  • Loading branch information
alex179ohm committed Jul 4, 2019
1 parent fdf984b commit 8db15b1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/dimension/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,11 @@ pub trait DimensionExt {
/// Get the dimension at `axis`.
///
/// *Panics* if `axis` is out of bounds.
#[inline]
fn axis(&self, axis: Axis) -> Ix;

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

Expand Down
1 change: 0 additions & 1 deletion src/zip/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ pub trait NdProducer {
#[doc(hidden)]
fn stride_of(&self, axis: Axis) -> <Self::Ptr as Offset>::Stride;
#[doc(hidden)]
#[inline(always)]
fn contiguous_stride(&self) -> Self::Stride;
#[doc(hidden)]
fn split_at(self, axis: Axis, index: usize) -> (Self, Self)
Expand Down

0 comments on commit 8db15b1

Please sign in to comment.