We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1f29ec commit fdaff28Copy full SHA for fdaff28
pdata/pprofile/locations.go
@@ -17,7 +17,7 @@ type locatable interface {
17
18
// FromLocationIndices builds a slice containing all the locations of a record.
19
// 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.
+// Updates made to the returned map will not be applied back to the record.
21
func FromLocationIndices(table LocationSlice, record locatable) LocationSlice {
22
m := NewLocationSlice()
23
m.EnsureCapacity(record.LocationIndices().Len())
0 commit comments