Skip to content

Commit f80d61e

Browse files
Added semicolons to make the code snippet syntactically correct (#11303)
1 parent d0e5276 commit f80d61e

File tree

1 file changed

+3
-3
lines changed
  • platform-includes/performance/add-spans-example

1 file changed

+3
-3
lines changed

platform-includes/performance/add-spans-example/rust.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ fn perform_checkout() {
1616
"validating shopping cart",
1717
);
1818

19-
validate_shopping_cart() //Some long process, maybe a sync http request.
19+
validate_shopping_cart(); //Some long process, maybe a sync http request.
2020

2121
validation_span.finish();
2222

2323
// Process the order
2424
let process_span = transaction.start_child(
2525
"process",
2626
"processing shopping cart",
27-
)
27+
);
2828

29-
process_shopping_cart() //Another time consuming process.
29+
process_shopping_cart(); //Another time consuming process.
3030

3131
process_span.finish();
3232

0 commit comments

Comments
 (0)