集合与迭代器

遍历字符串

let bytes = str.as_bytes();
for (index,&item) in bytes.iter() {
    // ...
}

results matching ""

    No results matching ""