From a9e248da34bddb549ccba45a01a8ce4aed85c1bd Mon Sep 17 00:00:00 2001 From: Devin Ragotzy Date: Sat, 24 Apr 2021 16:19:17 -0400 Subject: [PATCH] Replace threads -> tasks in TODO comments --- src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f86a3f6a..6f88c315 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -317,7 +317,7 @@ impl StateResolution { // TODO: if these functions are ever made async here // is a good place to yield every once in a while so other - // "threads" can make progress + // tasks can make progress } // this is used in the `key_fn` passed to the lexico_topo_sort fn @@ -330,7 +330,7 @@ impl StateResolution { // TODO: if these functions are ever made async here // is a good place to yield every once in a while so other - // "threads" can make progress + // tasks can make progress } StateResolution::lexicographical_topological_sort(&graph, |event_id| { @@ -571,7 +571,7 @@ impl StateResolution { // TODO: if these functions are ever made async here // is a good place to yield every once in a while so other - // "threads" can make progress + // tasks can make progress } Ok(resolved_state) } @@ -613,7 +613,7 @@ impl StateResolution { } // TODO: if these functions are ever made async here // is a good place to yield every once in a while so other - // "threads" can make progress + // tasks can make progress } let mainline_map = mainline @@ -645,7 +645,7 @@ impl StateResolution { // TODO: if these functions are ever made async here // is a good place to yield every once in a while so other - // "threads" can make progress + // tasks can make progress } // sort the event_ids by their depth, timestamp and EventId