Skip to content

Commit 3a750bd

Browse files
committed
Apply feedback
1 parent 66db76a commit 3a750bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

value/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type List interface {
2929
// Equals compares the two list, and return true if they are the same, false otherwise.
3030
// Implementations can use ListEquals as a general implementation for this methods.
3131
Equals(List) bool
32-
// Recycle returns a value of this type that is no longer needed. The
32+
// Recycle gives back this List once it is no longer needed. The
3333
// value shouldn't be used after this call.
3434
Recycle()
3535
}

value/map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type Map interface {
4545
// with the values from both maps, otherwise it is called with the value of the map that contains the key and nil
4646
// for the map that does not contain the key. Returning false in the closure prematurely stops the iteration.
4747
Zip(other Map, order MapTraverseOrder, fn func(key string, lhs, rhs Value) bool) bool
48-
// Recycle returns a value of this type that is no longer needed. The
48+
// Recycle gives back this Map once it is no longer needed. The
4949
// value shouldn't be used after this call.
5050
Recycle()
5151
}

0 commit comments

Comments
 (0)