June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,8 +1,8 @@
|
|||
fn main() {
|
||||
let country_city = vec![("UK", "London"),
|
||||
("US", "New York"),
|
||||
("US", "Birmingham"),
|
||||
("UK", "Birmingham")];
|
||||
let country_city = [("UK", "London"),
|
||||
("US", "New York"),
|
||||
("US", "Birmingham"),
|
||||
("UK", "Birmingham")];
|
||||
|
||||
let mut city_sorted = country_city.clone();
|
||||
city_sorted.sort_by_key(|k| k.1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue