From 7f22307499f6b513e182c7d3a367381179befecf Mon Sep 17 00:00:00 2001 From: Tomasz Chojnacki Date: Sun, 23 Jul 2023 19:25:43 +0200 Subject: Update Gleam --- aoc-2020-gleam/src/util/input_util.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aoc-2020-gleam/src/util') diff --git a/aoc-2020-gleam/src/util/input_util.gleam b/aoc-2020-gleam/src/util/input_util.gleam index 3ed2ce8..27f3009 100644 --- a/aoc-2020-gleam/src/util/input_util.gleam +++ b/aoc-2020-gleam/src/util/input_util.gleam @@ -7,7 +7,7 @@ import gleam/erlang/file import ext/resultx as resx pub fn read_text(filename: String) -> String { - "data/" <> filename <> ".txt" + { "data/" <> filename <> ".txt" } |> file.read |> resx.assert_unwrap } -- cgit v1.2.3