Skip to content

Commit 3935946

Browse files
committed
use :erlang.bor/2 instead of Bitwise.bor/2
1 parent a321154 commit 3935946

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ The format is based on [Keep a
66
Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## 0.1.3 - 2021-07-02
10+
11+
### Fixed
12+
13+
- Switch from using `Bitwise.bor/2` to `:erlang.bor/2` for compatibility
14+
with Elixir < 1.10
15+
916
## 0.1.2 - 2021-07-02
1017

1118
### Fixed

lib/mint/web_socket/per_message_deflate.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ defmodule Mint.WebSocket.PerMessageDeflate do
122122

123123
frame =
124124
Frame.unquote(opcode)(frame,
125-
reserved: <<Bitwise.bor(reserved, 0b100)::size(3)>>,
125+
reserved: <<:erlang.bor(reserved, 0b100)::size(3)>>,
126126
data: data
127127
)
128128

0 commit comments

Comments
 (0)