🌈 搜索
📅  最后修改于: 2022-03-11 14:59:07.384000             🧑  作者: Mango
let mut list = Vec::from([1,4,4,0,5,-1,4,0]); list.sort(); list.dedup(); assert_eq!([-1,0,1,4,5], &list[..])