Explorar el Código

Revert "tau: Sort tasks by id when printing them."

This reverts commit 804494b4baf8c21092d672e235d4168cc5da0ad3.
parazyd hace 3 años
padre
commit
e0f0b46135
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      bin/tau/tau-cli/src/main.rs

+ 0 - 3
bin/tau/tau-cli/src/main.rs

@@ -186,13 +186,10 @@ async fn main() -> Result<()> {
         } else {
             vec![]
         };
-
     for id in task_ids {
         tasks.push(tau.get_task_by_id(id).await?);
     }
 
-    tasks.sort_by(|a, b| a.id.partial_cmp(&b.id).unwrap());
-
     if ids_clone.len() == 1 && args.command.is_none() {
         let tsk = tasks[0].clone();
         print_task_info(tsk)?;