4 ms·
Short-circuit refers to stopping not skipping.
by remram 4y ago
Short-circuit refers to stopping not skipping.
- fnordpiglet 4y agoI don’t understand. The example you replied to stopped, not skipped.
- aPoCoMiLogin 4y agothat should print 4 and 5 if that was skipping ?
- remram 4y agoYeah I read too fast. One of the issues with type inference, this exact same code does different things depending on whether the result is assigned to `Option<Vec<i32>>` or `Vec<Option<i32>>`