ax(ueps): remove prose comment that restated intent without a usage example
AX Principle 2: "If a comment restates what the type signature already says, delete it." The "Store for processing" comment above the switch statement added no information — the switch itself communicates that action. Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
parent
301a5428b0
commit
8066610192
1 changed files with 0 additions and 1 deletions
|
|
@ -65,7 +65,6 @@ func ReadAndVerify(reader *bufio.Reader, sharedSecret []byte) (*ParsedPacket, er
|
|||
return nil, err
|
||||
}
|
||||
|
||||
// Store for processing
|
||||
switch tag {
|
||||
case TagVersion:
|
||||
header.Version = tagValue[0]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue