Skip to content

Commit 33de1d9

Browse files
authored
Merge pull request #438 from oguzutku1745/update-operators-shl
Update shl
2 parents 50ff3d3 + f317937 commit 33de1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/leo/04_operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ let b: u8 = a.shl(1u8); // 4u8
10431043

10441044
#### Description
10451045

1046-
Shifts `first` left by `second` bits, storing the result in `destination`.
1046+
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`.
10471047

10481048
#### Supported Types
10491049

0 commit comments

Comments
 (0)