Skip to content

Commit

Permalink
Run mix.format
Browse files Browse the repository at this point in the history
  • Loading branch information
dmorneau committed Dec 29, 2023
1 parent 158a6df commit 3da478b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bandit/websocket/frame.ex
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ defmodule Bandit.WebSocket.Frame do

# Note that masking is an involution, so we don't need a separate unmask function
@spec mask(binary(), integer()) :: binary()
def mask(payload, mask) when is_binary(payload) and is_integer(mask) and mask >= 0x00000000 and mask <= 0xFFFFFFFF do
def mask(payload, mask)
when is_binary(payload) and is_integer(mask) and mask >= 0x00000000 and mask <= 0xFFFFFFFF do
mask(<<>>, payload, mask)
end

Expand Down

0 comments on commit 3da478b

Please sign in to comment.