(资料图片)
位置访问太长:
let char=().nth(p as usize).unwrap();
=>>
let news:Vec<char>= ().collect::<Vec<_>>();
let char = news[p as usize];
标签:
(资料图片)
位置访问太长:
let char=().nth(p as usize).unwrap();
=>>
let news:Vec<char>= ().collect::<Vec<_>>();
let char = news[p as usize];
标签: