about summary refs log tree commit diff stats
path: root/src/select
diff options
context:
space:
mode:
Diffstat (limited to 'src/select')
-rw-r--r--src/select/cmds.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/select/cmds.rs b/src/select/cmds.rs
index 31589f2..3a7a800 100644
--- a/src/select/cmds.rs
+++ b/src/select/cmds.rs
@@ -81,5 +81,7 @@ async fn handle_status_change(
 fn compute_priority(line_number: Option<i64>, priority: Option<i64>) -> Option<i64> {
     if let Some(pri) = priority {
         Some(pri)
-    } else { line_number }
+    } else {
+        line_number
+    }
 }