Skip to content

Commit 1cfaab2

Browse files
committed
Update object.textile
From the code sample and the example it looks like it's shifting it to the left, not the right.
1 parent 6bf7a9b commit 1cfaab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

object.textile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ to a `Fixnum`, and confirm that `Fixnum` are directly embedded in `VALUE`.
255255
(ruby.h)
256256
</pre>
257257

258-
In brief, shift 1 bit to the right, and bitwise or it with 1.
258+
In brief, shift 1 bit to the left, and bitwise or it with 1.
259259

260260
| `0110100001000` | before conversion |
261261
| `1101000010001` | after conversion |

0 commit comments

Comments
 (0)