Skip to content

Commit

Permalink
Merge pull request #2364 from finaltrip/master
Browse files Browse the repository at this point in the history
chore: fix some function names
  • Loading branch information
joshuacolvin0 committed Jun 3, 2024
2 parents 592d53c + 632a69c commit 64ae80c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion util/arbmath/math.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func SaturatingUSub[T Unsigned](a, b T) T {
return a - b
}

// SaturatingMul multiply two integers without over/underflow
// SaturatingUMul multiply two integers without over/underflow
func SaturatingUMul[T Unsigned](a, b T) T {
product := a * b
if b != 0 && product/b != a {
Expand Down
2 changes: 1 addition & 1 deletion wsbroadcastserver/clientconnection.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func (cc *ClientConnection) Receive(ctx context.Context, timeout time.Duration)
return msg, op, err
}

// readRequests reads json-rpc request from connection.
// readRequest reads json-rpc request from connection.
func (cc *ClientConnection) readRequest(ctx context.Context, timeout time.Duration) ([]byte, ws.OpCode, error) {
cc.ioMutex.Lock()
defer cc.ioMutex.Unlock()
Expand Down

0 comments on commit 64ae80c

Please sign in to comment.