We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Related to #7741 and #7956
Conversion assists between for-loop and for_each are working well for normal iterable types, but it works wrong for range expr.
// before for _ in 0..10 {} // after 0..10.for_each(|_| {}); // syntax error
// before (0..v.len()).for_each(|_| {}); // after for _ in (0..v.len()) {} // warning by unnecessary parentheses