Can a closure's return value borrow from a captured variable?