summaryrefslogtreecommitdiff
path: root/src/engine.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-18 10:07:48 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-18 10:07:48 +0300
commita1844bed8206fe997dfebaaa73e6b9e822511e51 (patch)
tree716dbfc7a4d360b103989789fdf301cf29f7d90c /src/engine.rs
parent46bea38612245a28af8e5daaf76544f25ec74d90 (diff)
downloadobnam2-a1844bed8206fe997dfebaaa73e6b9e822511e51.tar.gz
docs: clarify comments in engine.rs
As proposed by Alexander Batischev. Sponsored-by: author
Diffstat (limited to 'src/engine.rs')
-rw-r--r--src/engine.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.rs b/src/engine.rs
index 6b8307d..252d3c9 100644
--- a/src/engine.rs
+++ b/src/engine.rs
@@ -38,7 +38,7 @@ impl<T: Send + 'static> Engine<T> {
Self { rx }
}
- /// Get the oldest result worker function, if any.
+ /// Get the oldest result of the worker function, if any.
///
/// This will block until there is a result, or it's known that no
/// more results will be forthcoming.
@@ -96,7 +96,7 @@ async fn manage_workers<S, T, F>(
}
while workers.next().await.is_some() {
- // Finish the chunks
+ // Finish the remaining work items.
}
}