Did not finish AOC today because I ran into this problem with #Rust : users.rust-lang.org/t/borrow-c… An explanation what's happening would be highly appreciated. Looks like I'm missing something fundamental!?
Borrow checker complaines only if lifetime is involved!?
I try to solve https://adventofcode.com/ using Rust to reactivate and improve my skills. Today I ran into an issue with the borrow checker which I did not understand.The Rust Programming Language Forum