Skip to content

Commit

Permalink
Merge branch 'master' into edit-docs-of-tokio-io-copy
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19 committed Mar 23, 2023
2 parents f82ff1a + 35dd635 commit e1bd29e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tokio/src/runtime/blocking/pool.rs
Expand Up @@ -371,7 +371,9 @@ impl Spawner {
task.name = %name.unwrap_or_default(),
task.id = id.as_u64(),
"fn" = %std::any::type_name::<F>(),
spawn.location = %format_args!("{}:{}:{}", location.file(), location.line(), location.column()),
loc.file = location.file(),
loc.line = location.line(),
loc.col = location.column(),
);
fut.instrument(span)
};
Expand Down

0 comments on commit e1bd29e

Please sign in to comment.