1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-16 14:17:34 +02:00
This commit is contained in:
Nicole LeGare
2025-06-09 14:05:41 -07:00
parent b01299bc3b
commit ef8afce41c

View File

@ -44,7 +44,7 @@ fn main() {
- In the second case, the aliasing rule prevents mis-compilation: In the C - In the second case, the aliasing rule prevents mis-compilation: In the C
equivalent of this function, the program produces different results when equivalent of this function, the program produces different results when
compiled with optimzations enabled. compiled with optimizations enabled.
- Show students [the C version of this on Godbolt][unoptimized]. By default, - Show students [the C version of this on Godbolt][unoptimized]. By default,
with no optimizations enabled it will print `x = 3`. But with no optimizations enabled it will print `x = 3`. But