Skip to content

Commit f25c50a

Browse files
committed
Fix example
1 parent 8ca2456 commit f25c50a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/basic/bitop/bitop_basic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func Basic() error {
6767

6868
// 特定のビットを立てる
6969
x |= (1 << 5)
70-
output.Stdoutf("[x != (1 << 5)]", "%08b\n", x)
70+
output.Stdoutf("[x |= (1 << 5)]", "%08b\n", x)
7171

7272
output.StdoutHr()
7373

0 commit comments

Comments
 (0)