authorgravatar for fncontroloption@noreply.codeberg.orgFnControlOption <fncontroloption@noreply.codeberg.org> 2026-03-06 22:33:28+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-03-11 02:37:05+01:00
logc01b9b1ab5bb0e9cd6eb1792cd20a643907008ad
tree099269cc5f266ac05fb3baabb3266e3ac3a8a751
parent1a8ed9a6580453e6aa8133d716692e7bad34be14

langref: replace `std.meta.Int` with `@Int`


1 files changed, 2 insertions(+), 2 deletions(-)

doc/langref.html.in+2-2
......@@ -4866,7 +4866,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val
48664866 {#header_close#}
48674867
48684868 {#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>
48704870 <p>
48714871 Converts from the integer representation of an error into {#link|The Global Error Set#} type.
48724872 </p>
......@@ -5107,7 +5107,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val
51075107 {#header_close#}
51085108
51095109 {#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>
51115111 <p>
51125112 Supports the following types:
51135113 </p>