Skip to content

Commit b9dd4b2

Browse files
authored
Merge pull request #683 from AskMeLuoryyy/main
[iterator.go]: fix some typos
2 parents ca05d82 + 6f1e833 commit b9dd4b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/api/iterator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func startCall() uint64 {
3232
return latestCallID
3333
}
3434

35-
// removeFrame removes the frame with for the given call ID.
35+
// removeFrame removes the frame for the given call ID.
3636
// The result can be nil when the frame is not initialized,
3737
// i.e. when startCall() is called but no iterator is stored.
3838
func removeFrame(callID uint64) frame {
@@ -44,7 +44,7 @@ func removeFrame(callID uint64) frame {
4444
return remove
4545
}
4646

47-
// endCall is called at the end of a contract call to remove one item the iteratorFrames
47+
// endCall is called at the end of a contract call to remove one item from the iteratorFrames
4848
func endCall(callID uint64) {
4949
// we pull removeFrame in another function so we don't hold the mutex while cleaning up the removed frame
5050
remove := removeFrame(callID)

0 commit comments

Comments
 (0)