Skip to content

Commit

Permalink
Fix typo in NamespaceModifier.findPrefixAlias() docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiburjack committed Aug 16, 2022
1 parent f092d8f commit 622ec16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion namespaceModifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (thiz *NamespaceModifier) findPrefixForNamespace(namespace []byte) []byte {
}

// findPrefixAlias finds the alias for the given prefix.
// There is an alias for a given prefix it, during encoding, the prefix
// There is an alias for a given prefix if, during encoding, the prefix
// has been replaced with a (possibly) shorter alternative.
func (thiz *NamespaceModifier) findPrefixAlias(prefix []byte) []byte {
// scan all frames up to the top
Expand Down

0 comments on commit 622ec16

Please sign in to comment.