You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling this code results in a warning: "test.rs:8:1: 8:2 warning: value assigned to x is never read", though since the variable has been captured by the lambda f() by reference, the assignment does have an effect when f() is invoked subsequently.