Skip to content

Commit

Permalink
minor syntax changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bradhanks committed Nov 18, 2023
1 parent 8748816 commit 07a4a64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/plug/conn/utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ defmodule Plug.Conn.Utils do
defp do_validate_utf8!(
<<byte, _::bits>>,
_return_binary,
context,
_context,
invalid_exception,
_validate_utf8,
400
Expand All @@ -352,7 +352,7 @@ defmodule Plug.Conn.Utils do
end

defp do_validate_utf8!(
<<byte, _::bits>>,
<<_byte, _::bits>>,
_return_binary,
context,
invalid_exception,
Expand All @@ -364,9 +364,9 @@ defmodule Plug.Conn.Utils do
end

defp do_validate_utf8!(
<<byte, _::bits>>,
<<_byte, _::bits>>,
_return_binary,
context,
_context,
_invalid_exception,
_validate_utf8,
validate_utf8_error
Expand All @@ -379,7 +379,7 @@ defmodule Plug.Conn.Utils do
end

defp do_validate_utf8!(
<<byte, _::bits>>,
<<_byte, _::bits>>,
_return_binary,
_context,
_invalid_exception,
Expand Down

0 comments on commit 07a4a64

Please sign in to comment.