Skip to content

Commit

Permalink
Merge pull request #438 from oguzutku1745/update-operators-shl
Browse files Browse the repository at this point in the history
Update shl
  • Loading branch information
d0cd authored Feb 16, 2025
2 parents 50ff3d3 + f317937 commit 33de1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/leo/04_operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ let b: u8 = a.shl(1u8); // 4u8

#### Description

Shifts `first` left by `second` bits, storing the result in `destination`.
Shifts `first` left by `second` bits, storing the result in `destination`. The operation halts if the shift distance exceeds the bit size of `first`, or if the shifted result does not fit within the type of `first`.

#### Supported Types

Expand Down

0 comments on commit 33de1d9

Please sign in to comment.