KernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 3 days agoLearning to program in rustprogramming.devvideomessage-square49fedilinkarrow-up1313arrow-down13
arrow-up1310arrow-down1videoLearning to program in rustprogramming.devKernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 3 days agomessage-square49fedilink
minus-squaremagic_lobster_party@fedia.iolinkfedilinkarrow-up2·2 days agoStatic lifetimes confused me when I started learning rust. The error message guides the developer to the wrong direction. It took me a while to realize that just using Arc is sufficient in most of those cases.
Static lifetimes confused me when I started learning rust. The error message guides the developer to the wrong direction.
It took me a while to realize that just using
Arc
is sufficient in most of those cases.