Skip to content

Commit 5ae4054

Browse files
authored
Apply suggestions from code review
1 parent 14a30e2 commit 5ae4054

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tracer/src/Datadog.Trace/Agent/MessagePack/TraceChunkModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ private bool Contains(ulong spanId, int startIndex)
239239
}
240240

241241
/// <summary>
242-
/// Searches for the specified spanId by iteration the array of spans.
242+
/// Searches for the specified spanId by iterating the array of spans.
243243
/// </summary>
244244
private int IndexOf(ulong spanId, int startIndex)
245245
{

tracer/src/Datadog.Trace/Span.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ internal Span(SpanContext context, DateTimeOffset? start, ITags tags, IEnumerabl
4747

4848
if (links is not null)
4949
{
50-
// We know we're not finished and this allows optimizations vs using AddLink()
50+
// We're in the constructor, so doing a direct replace allows optimizations vs using AddLink()
5151
SpanLinks = [..links];
5252
}
5353

0 commit comments

Comments
 (0)