From d5b849b8d8ff3017bc5bf99e3b39fabbadcdc7a1 Mon Sep 17 00:00:00 2001 From: Francesco Date: Mon, 2 Sep 2024 13:09:19 +0200 Subject: [PATCH] fmt --- ic-task-scheduler/src/scheduler.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ic-task-scheduler/src/scheduler.rs b/ic-task-scheduler/src/scheduler.rs index 6f6a6b48..66297e9b 100644 --- a/ic-task-scheduler/src/scheduler.rs +++ b/ic-task-scheduler/src/scheduler.rs @@ -326,7 +326,7 @@ where let mut keys = Vec::with_capacity(tasks.len()); for task in tasks { keys.push(self.append_task(task)); - } + } keys } @@ -1364,7 +1364,7 @@ mod test { let map = StableBTreeMap::new(VectorMemory::default()); let sequence = StableCell::new(VectorMemory::default(), base_task_id).unwrap(); let scheduler = Scheduler::new(map, sequence); - + for id in base_task_id..(base_task_id + 10) { let id_in_scheduler = scheduler.append_task((SimpleTask::StepOne { id }, TaskOptions::new()).into());