From 3cf444ffc270fd800041e90373db6a15b6f78f01 Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 14 Aug 2023 17:51:48 +0200 Subject: [PATCH] Remove todos --- src/config.rs | 1 - src/worker/run.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/config.rs b/src/config.rs index 34b64b3..e003b28 100644 --- a/src/config.rs +++ b/src/config.rs @@ -212,7 +212,6 @@ impl ConfigFile { } } -// TODO Url functions #[derive(Clone)] pub struct WorkerServerConfig { /// Always ends without a `/`. diff --git a/src/worker/run.rs b/src/worker/run.rs index b334719..4f8d20b 100644 --- a/src/worker/run.rs +++ b/src/worker/run.rs @@ -76,9 +76,8 @@ impl RunInProgress { } pub async fn perform(&self, server: &Server) -> Option { - // TODO Remove type annotations // TODO Handle aborts - let result: somehow::Result<_> = match &self.run.bench_method { + let result = match &self.run.bench_method { BenchMethod::Internal => self.perform_internal(server), BenchMethod::Repo { hash } => todo!(), }