~samwhited/xmpp

0c2b457375f3e442f634b2b74eed8cff8d876e42 — Sam Whited 1 year, 7 months ago 98f0e1c
roster: fix documentation related lints
1 files changed, 3 insertions(+), 3 deletions(-)

M roster/roster.go
M roster/roster.go => roster/roster.go +3 -3
@@ 51,7 51,7 @@ func (i *Iter) setNext() {
	i.next = &start
}

// Returns true if there are more items to decode.
// Next returns true if there are more items to decode.
func (i *Iter) Next() bool {
	if i.err != nil || i.next == nil || i.closed {
		return false


@@ 70,12 70,12 @@ func (i *Iter) Next() bool {
	return ret
}

// Returns the current roster item.
// Item returns the current roster item.
func (i *Iter) Item() Item {
	return i.item
}

// Returns the last error encountered by the iterator (if any).
// Err returns the last error encountered by the iterator (if any).
func (i *Iter) Err() error {
	return i.err
}