From 536f6f52ff89a279f251e23f1eda059545035cbb Mon Sep 17 00:00:00 2001 From: Kharec Date: Sun, 7 Dec 2025 09:35:20 +0100 Subject: [PATCH] refactor: return directly --- internal/2025/DaySix/code.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/2025/DaySix/code.go b/internal/2025/DaySix/code.go index 761f24b..be2e0ef 100644 --- a/internal/2025/DaySix/code.go +++ b/internal/2025/DaySix/code.go @@ -14,8 +14,7 @@ func init() { func ParseInput(filepath string) []string { content, _ := os.ReadFile(filepath) - lines := strings.Split(strings.TrimRight(string(content), "\n"), "\n") - return lines + return strings.Split(strings.TrimRight(string(content), "\n"), "\n") } func transpose(lines []string) []string {