Comment on What could go wrong trying to solve AoC in Rust?

<- View Parent
janAkali@lemmy.one ⁨7⁩ ⁨months⁩ ago

It’s Nim, but I really doubt you can’t do this in Rust:

var seeds = lines[0].split(":")[1].splitWhitespace().mapIt(it.parseInt)

Full solution: codeberg.org/Archargelod/…/solution.nim

source
Sort:hotnewtop