summaryrefslogtreecommitdiffstats
path: root/imag-notes/src
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-10-25 09:33:59 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-10-25 09:33:59 +0200
commit97eedf80fe770a10171c0505aa765562bd819a40 (patch)
tree1934fdda7e1379020bdae5eb2ffadc519e2ee402 /imag-notes/src
parent44f44a0c7f73ee069daeb64095081fb4388236a5 (diff)
Fix for itertools update: sort_by -> sorted_by
Diffstat (limited to 'imag-notes/src')
-rw-r--r--imag-notes/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/imag-notes/src/main.rs b/imag-notes/src/main.rs
index dd24607c..697c034d 100644
--- a/imag-notes/src/main.rs
+++ b/imag-notes/src/main.rs
@@ -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 {