Skip to content

Commit 6bfedd1

Browse files
authored
Merge pull request #3093 from dalcde/patch-1
Fix typo in RFC 560
2 parents e512fdd + ae13940 commit 6bfedd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0560-integer-overflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ defined results today. The only change is that now a panic may result.
130130
wrap.
131131
- The operations `/`, `%` for the arguments `INT_MIN` and `-1`
132132
will unconditionally panic. This is unconditional for legacy reasons.
133-
- Shift operations (`<<`, `>>`) on a value of with `N` can be passed a shift
133+
- Shift operations (`<<`, `>>`) on a value of width `N` can be passed a shift
134134
value >= `N`. It is unclear what behaviour should result from this, so the
135135
shift value is unconditionally masked to be modulo `N` to ensure that the
136136
argument is always in range.

0 commit comments

Comments
 (0)