Commit e5fa09f
Update shifting operations guidelines in expressions.rst (#244)
* Update shifting operations guidelines in expressions.rst
Clarify rules for shifting operations in Rust, emphasizing the importance of using checked functions and addressing inconsistent behavior in different compilation modes.
* Update expressions.rst
* Revise integer shift guidelines and pointer conversion
Updated guidelines on integer shifts and pointer conversions, changing categories and clarifying examples.
* Update expressions.rst
interim commit
* Update expressions.rst
some more progress
* Clarify guideline on out-of-range shifts
Updated guideline to clarify the definition of out-of-range shifts in shift left and shift right expressions. Adjusted references and descriptions to enhance clarity and accuracy.
* Update src/coding-guidelines/expressions.rst
Co-authored-by: Félix Fischer <[email protected]>
* Update shift expressions guidelines and examples
* Update expressions.rst
still thinking about these two shift rules
* Revise shift operation guidelines and examples
Updated guidelines for shift operations to clarify compliance and non-compliance examples. Improved explanations and corrected typographical errors.
* Fix spelling errors in expressions.rst
* Add non-compliant example for bit shifting
Added a non-compliant example demonstrating the use of bits.unbounded_shr(sh) and its implications.
* Update expressions.rst
* fix: make build pass
- make indentation consistent
- make links anonymous so they don't clash
- deduplicate 🆔's
* Update expressions.rst
swapped names of the shift rules
---------
Co-authored-by: Félix Fischer <[email protected]>
Co-authored-by: Pete LeVasseur <[email protected]>1 parent 587f8bc commit e5fa09f
1 file changed
+237
-169
lines changed
0 commit comments