ржавчина для каждого
// for
for n in 1..101 {}
// collection is untouched and can't be modified
for name in names.iter() {}
// collection is extracted and no longer available after
for name in names.into_iter() {}
// collection can be modified within the loop
for name in names.iter_mut() {}
Kayomez