Skip to content

Commit 752a561

Browse files
committed
comment
1 parent 692d2b7 commit 752a561

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

grpc/src/rt/tracker.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub(crate) struct TaskTracker {
8888
impl<R: Runtime> TrackedRuntime<R> {
8989
/// Creates a new tracked runtime and its associated tracker.
9090
///
91-
/// Callers can call `wait_for_tasks` on the returned tracker at the end of
91+
/// Callers must call `wait_for_tasks` on the returned tracker at the end of
9292
/// the test.
9393
///
9494
/// ```rust
@@ -240,6 +240,7 @@ mod tests {
240240
tracked_rt.spawn(Box::pin(async {
241241
tokio::time::sleep(Duration::from_millis(1)).await;
242242
}));
243+
243244
tracker.wait_for_tasks().await;
244245
}
245246

0 commit comments

Comments
 (0)