Skip to content

Commit

Permalink
fix typo (#2043)
Browse files Browse the repository at this point in the history
line 320:
original: "valtree back a to MIR constant"
updated: "valtree back to a MIR constant"
  • Loading branch information
FlashWhite committed Aug 19, 2024
1 parent d194bc5 commit 98926c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mir/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ compile-time and thus we cannot make any assumptions about them. References on t
ignore their address and just look at the backing value. We must make sure that the pointer values
of the references are not observable at compile time. We thus encode `&42` exactly like `42`.
Any conversion from
valtree back a to MIR constant value must reintroduce an actual indirection. At codegen time the
valtree back to a MIR constant value must reintroduce an actual indirection. At codegen time the
addresses may be deduplicated between multiple uses or not, entirely depending on arbitrary
optimization choices.

Expand Down

0 comments on commit 98926c5

Please sign in to comment.