Parcourir la source

Correct a typo in port.go

Felix Yan il y a 6 ans
Parent
commit
b94e3ced7a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      common/net/port.go

+ 1 - 1
common/net/port.go

@@ -33,7 +33,7 @@ func PortFromString(s string) (Port, error) {
 	return PortFromInt(uint32(val))
 }
 
-// Value return the correspoding uint16 value of a Port.
+// Value return the corresponding uint16 value of a Port.
 func (p Port) Value() uint16 {
 	return uint16(p)
 }