Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)AN
anlumo @feddit.org
Posts 0
Comments 5
[newbie] one-liner to avoid "temporary value dropped while borrowed"?
  • This is a limitation of the current borrow checker. I think there are some efforts going on to improve on this situation, but right now that's what we have to work with.

    The borrow checker can keep unnamed values around for a single expression, but not beyond that.