skip to content
tlam://feed

// think like a machine

#3am

15 expressions · 8 languages

~/pooper/overthinking.rs

Overthinking

The compiler won't let me move on either.

fn main() {    let thing_i_said = String::from("that weird thing at dinner in 2014");    let replay = &thing_i_said; // borrowed. indefinitely.    move_on(thing_i_said);    // error[E0505]: cannot move out of `thing_i_said` because it is borrowed    replay_at_3am(replay);}