Skip to content

Commit 9f1a3d0

Browse files
andrei-papoubluss
authored andcommitted
Rustfmt fixes
1 parent 48606c6 commit 9f1a3d0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/stacking.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ use crate::imp_prelude::*;
2929
/// [3., 3.]]))
3030
/// );
3131
/// ```
32-
pub fn concatenate<A, D>(
33-
axis: Axis,
34-
arrays: &[ArrayView<A, D>],
35-
) -> Result<Array<A, D>, ShapeError>
32+
pub fn concatenate<A, D>(axis: Axis, arrays: &[ArrayView<A, D>]) -> Result<Array<A, D>, ShapeError>
3633
where
3734
A: Copy,
3835
D: RemoveAxis,
@@ -90,8 +87,8 @@ where
9087
return Err(from_kind(ErrorKind::OutOfBounds));
9188
}
9289
}
93-
let arrays: Vec<ArrayView<A, D::Larger>> = arrays.into_iter()
94-
.map(|a| a.insert_axis(axis)).collect();
90+
let arrays: Vec<ArrayView<A, D::Larger>> =
91+
arrays.into_iter().map(|a| a.insert_axis(axis)).collect();
9592
concatenate(axis, &arrays)
9693
}
9794

0 commit comments

Comments
 (0)