Skip to content

Commit

Permalink
update deprecated notice for Range
Browse files Browse the repository at this point in the history
  • Loading branch information
mauri870 committed Feb 14, 2025
1 parent 7c6cfb9 commit 682b694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdata/pcommon/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (m Map) Len() int {
// ...
// })
//
// Deprecated: Use the iterator returned by All instead.
// Deprecated: [v0.120.0] use the iterator returned by All instead.
func (m Map) Range(f func(k string, v Value) bool) {
for i := range *m.getOrig() {
kv := &(*m.getOrig())[i]
Expand Down

0 comments on commit 682b694

Please sign in to comment.