Skip to content

Commit 6b01958

Browse files
committed
Update NthPreviousEntry->At in godoc too
1 parent b9f8be7 commit 6b01958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terminal.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ func (s *stRingBuffer) Add(a string) {
950950
}
951951
}
952952

953-
// NthPreviousEntry returns the value passed to the nth previous call to Add.
953+
// At returns the value passed to the nth previous call to Add.
954954
// If n is zero then the immediately prior value is returned, if one, then the
955955
// next most recent, and so on. If such an element doesn't exist then ok is
956956
// false.

0 commit comments

Comments
 (0)