It's not temporary, it's just how you need to capture by-reference and by-mutable-reference when there's not already a reference. This is the case the sugar would improve, but it doesn't appear to be very common.