core/ndstrides: remove unneeded comment in gen_ndarray_subscript_ndindices
This commit is contained in:
parent
6b66147dc4
commit
b2f2a026b1
|
@ -273,8 +273,6 @@ pub mod util {
|
|||
// so the code/implementation looks awkward - we have to do pattern matching on the expression
|
||||
let ndindex = if let ExprKind::Slice { lower, upper, step } = &index_expr.node {
|
||||
// Handle slices
|
||||
|
||||
// Helper function here to deduce code duplication
|
||||
let (lower, upper, step) = gen_slice(generator, ctx, lower, upper, step)?;
|
||||
RustNDIndex::Slice(RustSlice { start: lower, stop: upper, step })
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue