1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-05 06:00:30 +02:00

Fix formatting

This commit is contained in:
Nicole LeGare
2025-04-17 16:53:30 -07:00
parent 097b700bc3
commit 24a2642758

View File

@ -33,9 +33,9 @@ fn main() {
<details> <details>
- In the first case, modifying the collection by pushing new elements into - In the first case, modifying the collection by pushing new elements into it
it can potentially invalidate existing references to the collection's elements can potentially invalidate existing references to the collection's elements if
if the collection has to reallocate. the collection has to reallocate.
- In the second case, the aliasing rule prevents mis-compilation: The output of - In the second case, the aliasing rule prevents mis-compilation: The output of
`sum_and_zero` depends on the ordering of the two operations, which means if `sum_and_zero` depends on the ordering of the two operations, which means if