Fix for itertools update: sort_by -> sorted_by

This commit is contained in:
Matthias Beyer 2016-10-25 09:33:59 +02:00
parent 44f44a0c7f
commit 97eedf80fe

View file

@ -116,7 +116,7 @@ fn list(rt: &Runtime) {
.map_err_trace_exit(1)
.map(|iter| {
let notes = iter.filter_map(|note| note.map_err_trace().ok())
.sort_by(|note_a, note_b| {
.sorted_by(|note_a, note_b| {
if let (Ok(a), Ok(b)) = (note_a.get_name(), note_b.get_name()) {
return a.cmp(&b)
} else {