АМ
Я знаю там есть
position(pred)
для итератора, но нет position_last(pred)
. Самое умное до чего я додумался - это vec_iter.enumerate().filter(pred).last().map(|x| x.0), но выглядит переусложненно.
Size: a a a
АМ
position(pred)
для итератора, но нет position_last(pred)
. Самое умное до чего я додумался - это vec_iter.enumerate().filter(pred).last().map(|x| x.0), но выглядит переусложненно.
А⚙
position(pred)
для итератора, но нет position_last(pred)
. Самое умное до чего я додумался - это vec_iter.enumerate().filter(pred).last().map(|x| x.0), но выглядит переусложненно.
.iter().rposition(predicate)
ИЛ
ИЛ
АМ
.iter().rposition(predicate)
А⚙
АМ
String::from_utf8_lossy(byte_slice)
∅ч
A⠀
[target.'cfg(target_arch = "wasm32")'.profile.release]
A⠀
Э
[target.'cfg(target_arch = "wasm32")'.profile.release]
MB
[target.'cfg(target_arch = "wasm32")'.profile.release]
♚
АП
A⠀
EG
p
MB
EG