aboutsummaryrefslogtreecommitdiff
path: root/aoc-2020-gleam/src/util
diff options
context:
space:
mode:
authorTomasz Chojnacki <tomaszchojnacki2001@gmail.com>2023-07-23 19:25:43 +0200
committerTomasz Chojnacki <tomaszchojnacki2001@gmail.com>2023-07-23 19:25:43 +0200
commit7f22307499f6b513e182c7d3a367381179befecf (patch)
tree58dde3fd2b0fb85a33da4c20a26a79a5e3722680 /aoc-2020-gleam/src/util
parent5f58332c7f1ac545dd50c8810649007f94a64179 (diff)
downloadgleam_aoc2020-7f22307499f6b513e182c7d3a367381179befecf.tar.gz
gleam_aoc2020-7f22307499f6b513e182c7d3a367381179befecf.zip
Update Gleam
Diffstat (limited to 'aoc-2020-gleam/src/util')
-rw-r--r--aoc-2020-gleam/src/util/input_util.gleam2
1 files changed, 1 insertions, 1 deletions
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
}