|
|
|
|
|
by pornel
1717 days ago
|
|
It has both optional and panicking ways to index, but it steers users away from using indexing in the first place. The `for` loop is based on the Iterator trait. Iterators typically optimize better than indexing, and can't panic. |
|