mirror of
https://github.com/golang/go
synced 2024-11-27 05:01:19 -07:00
runtime/trace: comment newlines to restore correct doc summary
Fixes #26309 Change-Id: I0e0b61b885817e514aa46e299b00833f16e98b2a Reviewed-on: https://go-review.googlesource.com/122898 Reviewed-by: Айнар Гарипов <gugl.zadolbal@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
c78b7693ab
commit
34619d5d13
@ -82,10 +82,10 @@
|
||||
//
|
||||
// ctx, task := trace.NewTask(ctx, "makeCappuccino")
|
||||
// trace.Log(ctx, "orderID", orderID)
|
||||
|
||||
//
|
||||
// milk := make(chan bool)
|
||||
// espresso := make(chan bool)
|
||||
|
||||
//
|
||||
// go func() {
|
||||
// trace.WithRegion(ctx, "steamMilk", steamMilk)
|
||||
// milk <- true
|
||||
|
Loading…
Reference in New Issue
Block a user