There was an error while loading. Please reload this page.
1 parent 70f4804 commit 0c07162Copy full SHA for 0c07162
1 file changed
src/view.rs
@@ -52,10 +52,8 @@ impl View {
52
53
// Adding the sort column to inserts if not already present
54
match (&opt.sorta, &opt.sortd) {
55
- (_, Some(col)) | (Some(col), _) => {
56
- if !opt.insert.contains(col) {
57
- opt.insert.push(col.clone());
58
- }
+ (_, Some(col)) | (Some(col), _) if !opt.insert.contains(col) => {
+ opt.insert.push(col.clone());
59
}
60
_ => {}
61
0 commit comments