From b2f2a026b17c473134c71afe080e33d8e393fac5 Mon Sep 17 00:00:00 2001 From: lyken Date: Wed, 21 Aug 2024 15:36:21 +0800 Subject: [PATCH] core/ndstrides: remove unneeded comment in gen_ndarray_subscript_ndindices --- nac3core/src/codegen/object/ndarray/indexing.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/nac3core/src/codegen/object/ndarray/indexing.rs b/nac3core/src/codegen/object/ndarray/indexing.rs index f6cf0edb..ae8b2d66 100644 --- a/nac3core/src/codegen/object/ndarray/indexing.rs +++ b/nac3core/src/codegen/object/ndarray/indexing.rs @@ -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 {