Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin-Niederman committed Dec 22, 2023
1 parent 5b34c62 commit 591fa84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pros/src/async_runtime/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl Executor {
self.tick();
}
}

pub fn complete(&self) {
loop {
if !self.tick() {
Expand Down
2 changes: 1 addition & 1 deletion pros/src/async_runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn block_on<F: Future + 'static>(future: F) -> F::Output {
executor::EXECUTOR.with(|e| e.block_on(spawn(future)))
}

/// Completes all tasks.
/// Completes all tasks.
/// Return values can be extracted from the futures by awaiting any [`Tasks`]s you have not detached.
pub fn complete_all() {
executor::EXECUTOR.with(|e| {
Expand Down

0 comments on commit 591fa84

Please sign in to comment.