Commit b12d75d0 authored by Vish Kannan's avatar Vish Kannan

Merge pull request #6610 from markturansky/fifos_typos

Fixed typos in FIFO comments
parents 3a3d8604 e5f280b7
...@@ -295,7 +295,7 @@ func (f *DeltaFIFO) Pop() interface{} { ...@@ -295,7 +295,7 @@ func (f *DeltaFIFO) Pop() interface{} {
} }
// Replace will delete the contents of 'f', using instead the given map. // 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 // after calling this function. f's queue is reset, too; upon return, it
// will contain the items in the map, in no particular order. // will contain the items in the map, in no particular order.
func (f *DeltaFIFO) Replace(list []interface{}) error { func (f *DeltaFIFO) Replace(list []interface{}) error {
......
...@@ -185,7 +185,7 @@ func (f *FIFO) Pop() interface{} { ...@@ -185,7 +185,7 @@ func (f *FIFO) Pop() interface{} {
} }
// Replace will delete the contents of 'f', using instead the given map. // 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 // after calling this function. f's queue is reset, too; upon return, it
// will contain the items in the map, in no particular order. // will contain the items in the map, in no particular order.
func (f *FIFO) Replace(list []interface{}) error { func (f *FIFO) Replace(list []interface{}) error {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment