From f35e1d301e9721592f851feaddc47ceb8176cb7a Mon Sep 17 00:00:00 2001 From: Keyao Shen Date: Tue, 15 Aug 2023 15:53:53 -0700 Subject: [PATCH] Fix lint and add a comment --- task/src/task_launcher.rs | 2 +- testing/tests/basic.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/task/src/task_launcher.rs b/task/src/task_launcher.rs index a8d7d17a03..cb5539fb38 100644 --- a/task/src/task_launcher.rs +++ b/task/src/task_launcher.rs @@ -40,8 +40,8 @@ impl TaskRunner /* */ { } } + // `name` is for logging purposes only and may be duplicated or inconsistent. /// to support builder pattern - // pub fn add_task>(&mut self, id: HotShotTaskId, name: String, builder: TaskBuilder) -> TaskRunner{ #[must_use] pub fn add_task( mut self, diff --git a/testing/tests/basic.rs b/testing/tests/basic.rs index 6e70c8efa5..a8435dc5ee 100644 --- a/testing/tests/basic.rs +++ b/testing/tests/basic.rs @@ -1,5 +1,3 @@ -use hotshot_testing::node_types::SequencingMemoryImpl; - #[cfg(test)] #[cfg_attr( feature = "tokio-executor",