We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 721e18a commit b4632a7Copy full SHA for b4632a7
2 files changed
examples/asynchronous.rs
@@ -62,7 +62,7 @@ async fn main() {
62
let f = async {
63
let jhs = {
64
let _span = LocalSpan::enter_with_local_parent("a span")
65
- .with_properties(|| [("a property", "a value")]);
+ .with_property(|| ("a property", "a value"));
66
parallel_job()
67
};
68
examples/synchronous.rs
@@ -45,7 +45,7 @@ async fn main() {
45
46
let _g = root.set_local_parent();
47
48
49
50
for i in 1..=10 {
51
func1(i);
0 commit comments