Skip to content

Commit 37192e9

Browse files
authored
Import Bitwise module instead of "use Bitwise" (#8)
1 parent 5390388 commit 37192e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/hpax/huffman.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule HPAX.Huffman do
22
@moduledoc false
33

4-
use Bitwise
4+
import Bitwise, only: [>>>: 2]
55

66
# This file is downloaded from the spec directly.
77
# http://httpwg.org/specs/rfc7541.html#huffman.code

lib/hpax/types.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule HPAX.Types do
22
@moduledoc false
33

4-
use Bitwise
4+
import Bitwise, only: [<<<: 2]
55

66
alias HPAX.Huffman
77

0 commit comments

Comments
 (0)