diff --git a/src/lib/gadgets/gadgets.ts b/src/lib/gadgets/gadgets.ts index 4ebe3608cc..1bedd0b719 100644 --- a/src/lib/gadgets/gadgets.ts +++ b/src/lib/gadgets/gadgets.ts @@ -145,8 +145,8 @@ const Gadgets = { * **Important:** The gadgets assumes that its input is at most 64 bits in size. * * If the input exceeds 64 bits, the gadget is invalid and does not prove correct execution of the rotation. - * Therefore, to safely use `rightShift()`, you need to make sure that the values passed in are range checked to 64 bits. - * For example, this can be done with {@link Gadgets.rangeCheck64}. + * To safely use `rightShift()`, you need to make sure that the value passed in is range-checked to 64 bits; + * for example, using {@link Gadgets.rangeCheck64}. * * @param field {@link Field} element to shift. * @param bits Amount of bits to shift the {@link Field} element to the right. The amount should be between 0 and 64 (or else the shift will fail).