From 735feeff1af9802e3c96fb671352a2c56ff8d623 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Mon, 10 Jul 2023 18:23:37 -0400 Subject: [PATCH] Remove mention of old .sort syntax (~ ftw) --- interpreter/README.md | 2 +- interpreter/src/lib.rs | 2 +- src/help.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interpreter/README.md b/interpreter/README.md index f934cdf..1fe4b3b 100644 --- a/interpreter/README.md +++ b/interpreter/README.md @@ -166,7 +166,7 @@ Empty iterator containing zero items. Useful for deleting items using replacemen Iterate over count empty items. The items in this iterator have no fields (i.e. are empty). ### Sorters -Operations to sort the items in an iterable: `iterable~(sorter)` OR `iterable.sort(sorter)`. +Operations to sort the items in an iterable: `iterable~(sorter)`. #### .field -- e.g. `iterable~(.filename);` diff --git a/interpreter/src/lib.rs b/interpreter/src/lib.rs index 963991d..d0524a4 100644 --- a/interpreter/src/lib.rs +++ b/interpreter/src/lib.rs @@ -164,7 +164,7 @@ //! Iterate over count empty items. The items in this iterator have no fields (i.e. are empty). //! //! ## Sorters -//! Operations to sort the items in an iterable: `iterable~(sorter)` OR `iterable.sort(sorter)`. +//! Operations to sort the items in an iterable: `iterable~(sorter)`. //! //! ### .field -- e.g. `iterable~(.filename);` //! diff --git a/src/help.rs b/src/help.rs index 314ff1c..4db942b 100644 --- a/src/help.rs +++ b/src/help.rs @@ -98,7 +98,7 @@ Operations to reduce the items in an iterable: iterable.(filter) pub const SORTERS: &str = "SORTERS (?sorters) -Operations to sort the items in an iterable: iterable~(sorter) OR iterable.sort(sorter) +Operations to sort the items in an iterable: iterable~(sorter) .field -- e.g. iterable~(.filename) Sort by an Item field. Valid field names change depending on what information is available when the Item is populated, but usually title, artist, album, genre, track, filename are valid fields. Items with a missing/incomparable fields will be sorted to the end.