diff --git a/src/base/edition.rs b/src/base/edition.rs index 1200f958..1c51479f 100644 --- a/src/base/edition.rs +++ b/src/base/edition.rs @@ -308,7 +308,7 @@ impl> Matrix { } /// Removes all columns in `indices` - #[inline] + #[cfg(any(feature = "std", feature = "alloc"))] pub fn remove_columns_at(self, indices: &[usize]) -> MatrixMN where C: DimSub, @@ -346,7 +346,7 @@ impl> Matrix { } /// Removes all columns in `indices` - #[inline] + #[cfg(any(feature = "std", feature = "alloc"))] pub fn remove_rows_at(self, indices: &[usize]) -> MatrixMN where R: DimSub,