Skip to content

Commit cf4a9ab

Browse files
committed
Derive Clone, Copy, and Debug for NewAxis
1 parent 1905102 commit cf4a9ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/slice.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ impl Slice {
7070
/// Token to represent a new axis in a slice description.
7171
///
7272
/// See also the [`s![]`](macro.s!.html) macro.
73+
#[derive(Clone, Copy, Debug)]
7374
pub struct NewAxis;
7475

7576
/// A slice (range with step), an index, or a new axis token.

0 commit comments

Comments
 (0)