We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a16201 + 4f0d474 commit 9730697Copy full SHA for 9730697
src/miri.md
@@ -89,8 +89,8 @@ pointers or two element tuples) or `ByRef`, which is used for anything else and
89
refers to a virtual allocation. These allocations can be accessed via the
90
methods on `tcx.interpret_interner`.
91
92
-If you are expecting a numeric result, you can use `unwrap_u64` (panics on
93
-anything that can't be representad as a `u64`) or `to_raw_bits` which results
+If you are expecting a numeric result, you can use `unwrap_usize` (panics on
+anything that can't be representad as a `u64`) or `assert_usize` which results
94
in an `Option<u128>` yielding the `Scalar` if possible.
95
96
## Allocations
0 commit comments