Merge pull request #6610 from markturansky/fifos_typos

Fixed typos in FIFO comments
This commit is contained in:
Vish Kannan 2015-04-08 18:08:42 -07:00
commit b12d75d0ee
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ func (f *DeltaFIFO) Pop() interface{} {
}
// Replace will delete the contents of 'f', using instead the given map.
// 'f' takes ownersip of the map, you should not reference the map again
// 'f' takes ownership of the map, you should not reference the map again
// after calling this function. f's queue is reset, too; upon return, it
// will contain the items in the map, in no particular order.
func (f *DeltaFIFO) Replace(list []interface{}) error {

View File

@ -185,7 +185,7 @@ func (f *FIFO) Pop() interface{} {
}
// Replace will delete the contents of 'f', using instead the given map.
// 'f' takes ownersip of the map, you should not reference the map again
// 'f' takes ownership of the map, you should not reference the map again
// after calling this function. f's queue is reset, too; upon return, it
// will contain the items in the map, in no particular order.
func (f *FIFO) Replace(list []interface{}) error {