Skip to content

Commit 123121b

Browse files
committed
formatting issue for day 17
1 parent cce2e44 commit 123121b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/day17/solution.gleam

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,10 @@ fn step(c: Computer, prog: Dict(Int, Int)) -> Running {
163163
// out instruction
164164
Ok(5), Ok(v) -> {
165165
Run(
166-
Computer(
167-
..c,
168-
ip: c.ip + 2,
169-
output_buffer: [combo(c, v) % 8, ..c.output_buffer],
170-
),
166+
Computer(..c, ip: c.ip + 2, output_buffer: [
167+
combo(c, v) % 8,
168+
..c.output_buffer
169+
]),
171170
)
172171
}
173172

0 commit comments

Comments
 (0)