aboutsummaryrefslogtreecommitdiff
path: root/src/output/sorting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/sorting.rs')
-rw-r--r--src/output/sorting.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/sorting.rs b/src/output/sorting.rs
index 2ed746a..234d804 100644
--- a/src/output/sorting.rs
+++ b/src/output/sorting.rs
@@ -95,7 +95,7 @@ impl FromStr for Sorting {
type Err = InvalidComponent;
fn from_str(s: &str) -> Result<Self, Self::Err> {
- if s == "" {
+ if s.is_empty() {
return Ok(Sorting::default());
}
let parts = s.split(',');