Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgxbslgx committed Sep 10, 2024
1 parent 3624e15 commit 57ba77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub async fn async_scope<T>(name: &'static str, f: impl Future<Output = T>) -> T
// Safety: accessing global mut, not threadsafe.
unsafe {
match &mut TRACE {
None => f.await,
None => f.await,
Some(t) => t.async_scope(name, f).await,
}
}
Expand Down

0 comments on commit 57ba77e

Please sign in to comment.