| ... | ... | @@ -4866,7 +4866,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 4866 | 4866 | {#header_close#} |
| 4867 | 4867 | |
| 4868 | 4868 | {#header_open|@errorFromInt#} |
| 4869 | | <pre>{#syntax#}@errorFromInt(value: std.meta.Int(.unsigned, @bitSizeOf(anyerror))) anyerror{#endsyntax#}</pre> |
| 4869 | <pre>{#syntax#}@errorFromInt(value: @Int(.unsigned, @bitSizeOf(anyerror))) anyerror{#endsyntax#}</pre> |
| 4870 | 4870 | <p> |
| 4871 | 4871 | Converts from the integer representation of an error into {#link|The Global Error Set#} type. |
| 4872 | 4872 | </p> |
| ... | ... | @@ -5107,7 +5107,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 5107 | 5107 | {#header_close#} |
| 5108 | 5108 | |
| 5109 | 5109 | {#header_open|@intFromError#} |
| 5110 | | <pre>{#syntax#}@intFromError(err: anytype) std.meta.Int(.unsigned, @bitSizeOf(anyerror)){#endsyntax#}</pre> |
| 5110 | <pre>{#syntax#}@intFromError(err: anytype) @Int(.unsigned, @bitSizeOf(anyerror)){#endsyntax#}</pre> |
| 5111 | 5111 | <p> |
| 5112 | 5112 | Supports the following types: |
| 5113 | 5113 | </p> |