Skip to content

Commit fdaff28

Browse files
dmathieurockdaboot
andauthored
Update pdata/pprofile/locations.go
Co-authored-by: Tim Rühsen <[email protected]>
1 parent d1f29ec commit fdaff28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdata/pprofile/locations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type locatable interface {
1717

1818
// FromLocationIndices builds a slice containing all the locations of a record.
1919
// The record can be any struct that implements a `LocationIndices` method.
20-
// Updates made to the return map will not be applied back to the record.
20+
// Updates made to the returned map will not be applied back to the record.
2121
func FromLocationIndices(table LocationSlice, record locatable) LocationSlice {
2222
m := NewLocationSlice()
2323
m.EnsureCapacity(record.LocationIndices().Len())

0 commit comments

Comments
 (0)