lysdexic@programming.dev to Rust@programming.devEnglish · 1 year agoCommon Rust Lifetime Misconceptions (2020)github.comexternal-linkmessage-square8fedilinkarrow-up138arrow-down11
arrow-up137arrow-down1external-linkCommon Rust Lifetime Misconceptions (2020)github.comlysdexic@programming.dev to Rust@programming.devEnglish · 1 year agomessage-square8fedilink
minus-squaresirdorius@programming.devlinkfedilinkarrow-up2·edit-21 year agoThis looks like a pretty easy fix that the compiler could do by extracting the argument to a temp variable to improve the syntax of the language.
This looks like a pretty easy fix that the compiler could do by extracting the argument to a temp variable to improve the syntax of the language.