You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-04 21:58:46 +02:00
Fix formatting
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user