Lifetime of temporary objects in if let statements
How come the lifetime of Value(1) and Value(2) differs in the code below?
Lifetime of temporariy objects in if let statements
How come the lifeteime of Value(1) and Value(2) differs in the code below?