Skip to content

Commit

Permalink
Use import Bitwise instead of use Bitwise
Browse files Browse the repository at this point in the history
  • Loading branch information
ryvasquez committed Oct 11, 2022
1 parent de07407 commit 68f5a7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/poison/encoder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ defimpl Poison.Encoder, for: Atom do
end

defimpl Poison.Encoder, for: BitString do
use Bitwise
import Bitwise

@compile :inline
@compile :inline_list_funcs
Expand Down
2 changes: 1 addition & 1 deletion lib/poison/parser.ex
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ defmodule Poison.Parser do
@compile {:inline_size, 150}
@compile {:inline_unroll, 3}

use Bitwise
import Bitwise

alias Poison.{Decoder, ParseError}

Expand Down

0 comments on commit 68f5a7d

Please sign in to comment.