File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 28
28
//!
29
29
//! This means we can skip tagging it, which is necessary as this variant can
30
30
//! be constructed from a `const fn`, which probably cannot tag pointers (or
31
- //! at least it would be difficult.
31
+ //! at least it would be difficult) .
32
32
//!
33
33
//! - **Tag 0b01**: The other pointer variant holds the data for
34
34
//! `ErrorData::Custom` and the remaining 62 bits are used to store a
40
40
//! preserve the pointer's provenance, which would otherwise be lost.
41
41
//!
42
42
//! - **Tag 0b10**: Holds the data for `ErrorData::Os(i32)`. We store the `i32`
43
- //! in the pointers most significant 32 bits, and don't use the bits `2..32`
43
+ //! in the pointer's most significant 32 bits, and don't use the bits `2..32`
44
44
//! for anything. Using the top 32 bits is just to let us easily recover the
45
45
//! `i32` code with the correct sign.
46
46
//!
You can’t perform that action at this time.
0 commit comments