Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
SunDoge committed Aug 21, 2023
1 parent 8adee4c commit bc632c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shape_and_strides.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl ShapeAndStrides {
}

pub fn new_borrowed(shape: &[i64], strides: Option<&[i64]>) -> Self {
if let Some(ref strides) = strides {
if let Some(strides) = strides {
assert_eq!(
shape.len(),
strides.len(),
Expand Down

0 comments on commit bc632c2

Please sign in to comment.