79604466

Date: 2025-05-03 07:47:01
Score: 1.5
Natty:
Report link

The for in construct can be used to iterate through an Iterator. One of the easiest ways to create an iterator is to use the range notation a..b. This yields values from a (inclusive) to b (exclusive) in steps of one.

https://doc.rust-lang.org/rust-by-example/flow_control/for.html#for-and-range

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: rustacean