Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin committed Dec 31, 2018
1 parent 9de1e35 commit 5d270d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attr.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (a Attribute) split() ([]string, Attribute) {
var rest Attribute
for a != 0 {
i := uint(bits.TrailingZeros16(uint16(a)))
bit := Attribute(1) << uint(i)
bit := Attribute(1) << i
if flag := attrname[bit]; flag != "" {
flags = append(flags, flag)
} else {
Expand Down

0 comments on commit 5d270d8

Please sign in to comment.