From a64df71152872da7e02e24eaa88a87f1ac8f6cf7 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Thu, 15 Feb 2024 15:26:15 +0100 Subject: [PATCH] fix comment --- internal/command/jsonformat/collections/slice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/command/jsonformat/collections/slice.go b/internal/command/jsonformat/collections/slice.go index 69dcba6332..7e1fa2f910 100644 --- a/internal/command/jsonformat/collections/slice.go +++ b/internal/command/jsonformat/collections/slice.go @@ -83,7 +83,7 @@ func ProcessSlice[Input any](before, after []Input, process ProcessIndices, isOb } } -// Returns if every item of before can be found in after +// isReorder returns true if every item of before can be found in after func isReorder[Input any](before, after []Input) bool { // To be a reorder the length needs to be the same if len(before) != len(after) {