core/ndstrides: remove unneeded comment in gen_ndarray_subscript_ndindices

This commit is contained in:
lyken 2024-08-21 15:36:21 +08:00
parent 6b66147dc4
commit b2f2a026b1
No known key found for this signature in database
GPG Key ID: 3BD5FC6AC8325DD8
1 changed files with 0 additions and 2 deletions

View File

@ -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 {