Skip to content

Commit

Permalink
packet.go: Re-added lint:ignore doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandertv committed Aug 20, 2023
1 parent e7d4f25 commit c8d5d29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const (
// reliabilityUnreliable means that the packet sent could arrive out of
// order, be duplicated, or just not arrive at all. It is usually used for
// high frequency packets of which the order does not matter.
//lint:ignore U1000 While this constant is unused, it is here for the sake
// of having all reliabilities documented.
reliabilityUnreliable byte = iota
// reliabilityUnreliableSequenced means that the packet sent could be
// duplicated or not arrive at all, but ensures that it is always handled in
Expand Down

0 comments on commit c8d5d29

Please sign in to comment.