Skip to content

Commit

Permalink
Fix lint and add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shenkeyao committed Aug 15, 2023
1 parent 356c5c4 commit f35e1d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion task/src/task_launcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ impl TaskRunner /* <N> */ {
}
}

// `name` is for logging purposes only and may be duplicated or inconsistent.
/// to support builder pattern
// pub fn add_task<HSTT: HotShotTaskTypes<Error = (dyn TaskErr + 'static)>>(&mut self, id: HotShotTaskId, name: String, builder: TaskBuilder<HSTT>) -> TaskRunner<N+1>{
#[must_use]
pub fn add_task(
mut self,
Expand Down
2 changes: 0 additions & 2 deletions testing/tests/basic.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use hotshot_testing::node_types::SequencingMemoryImpl;

#[cfg(test)]
#[cfg_attr(
feature = "tokio-executor",
Expand Down

0 comments on commit f35e1d3

Please sign in to comment.