Fix typos in comments.

This commit is contained in:
Matt Goodall 2017-04-14 12:14:36 +01:00
parent 0d9f3a4de5
commit 519c5a1846
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ type Stream struct {
incomingNamespace nsMap incomingNamespace nsMap
} }
// Create a XML stream connection. A Steam is used by an XMPP instance to // Create a XML stream connection. A Stream is used by an XMPP instance to
// handle sending and receiving XML data over the net connection. // handle sending and receiving XML data over the net connection.
func NewStream(addr string, config *StreamConfig) (*Stream, error) { func NewStream(addr string, config *StreamConfig) (*Stream, error) {

View File

@ -76,8 +76,8 @@ func (fn MatcherFunc) Match(v interface{}) bool {
return fn(v) return fn(v)
} }
// Uniquly identifies a stream fiter. Used to remove a filter that's no longer // Uniquely identifies a stream filter. Used to remove a filter that's no
// needed. // longer needed.
type FilterId int64 type FilterId int64
// Implements the error interface for a FilterId. // Implements the error interface for a FilterId.