Browse Source

fix typo in LessThan documentation

Florent Viel 11 months ago
parent
commit
414ebfab30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flows.go

+ 1 - 1
flows.go

@@ -49,7 +49,7 @@ func (a Endpoint) Raw() []byte { return a.raw[:a.len] }
 // For some endpoints, the actual comparison may not make sense, however this
 // ordering does provide useful information for most Endpoint types.
 // Ordering is based first on endpoint type, then on raw endpoint bytes.
-// Endpoint bytes are sorted lexigraphically.
+// Endpoint bytes are sorted lexicographically.
 func (a Endpoint) LessThan(b Endpoint) bool {
 	return a.typ < b.typ || (a.typ == b.typ && bytes.Compare(a.raw[:a.len], b.raw[:b.len]) < 0)
 }