Skip to content

Commit

Permalink
Drop outdated comment from docblock
Browse files Browse the repository at this point in the history
Co-authored-by: Krzesimir Nowak <qdlacz@gmail.com>
  • Loading branch information
Aneurysm9 and krnowak authored Dec 9, 2020
1 parent 30e6437 commit 13a268d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/trace/id_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (gen *randomIDGenerator) NewSpanID(ctx context.Context, traceID trace.Trace
}

// NewIDs returns a non-zero trace ID and a non-zero span ID from a
// randomly-chosen sequence. mu should be held while this function is called.
// randomly-chosen sequence.
func (gen *randomIDGenerator) NewIDs(ctx context.Context) (trace.TraceID, trace.SpanID) {
gen.Lock()
defer gen.Unlock()
Expand Down

0 comments on commit 13a268d

Please sign in to comment.