Merge pull request #5753 from creack/fix-beam-32bit
[beam] Use direct iota instead of binary shift
This commit is contained in:
commit
ee4fa10fb0
|
@ -30,7 +30,7 @@ type ReceiveSender interface {
|
|||
}
|
||||
|
||||
const (
|
||||
R int = 1 << (32 - 1 - iota)
|
||||
R = iota
|
||||
W
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue