mirror of
https://github.com/golang/term.git
synced 2026-02-08 11:46:05 +03:00
Update NthPreviousEntry->At in godoc too
This commit is contained in:
@@ -950,7 +950,7 @@ func (s *stRingBuffer) Add(a string) {
|
||||
}
|
||||
}
|
||||
|
||||
// NthPreviousEntry returns the value passed to the nth previous call to Add.
|
||||
// At returns the value passed to the nth previous call to Add.
|
||||
// If n is zero then the immediately prior value is returned, if one, then the
|
||||
// next most recent, and so on. If such an element doesn't exist then ok is
|
||||
// false.
|
||||
|
||||
Reference in New Issue
Block a user