authorgravatar for johnnymarler@gmail.comJonathan Marler <johnnymarler@gmail.com> 2021-07-07 12:39:44-06:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2021-07-13 10:14:39+03:00
log9086452ff98cf0ec271f449d0824d5b070b26f45
tree6a845004c5b5b5d72a3659490474f077fedfd987
parent74972531b5a3ea923dee04abdd1cfcf19f99d69d

clarify @bitSizeOf behavior


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

doc/langref.html.in+2-1
......@@ -7178,7 +7178,8 @@ fn func(y: *i32) void {
71787178 {#header_open|@bitSizeOf#}
71797179 <pre>{#syntax#}@bitSizeOf(comptime T: type) comptime_int{#endsyntax#}</pre>
71807180 <p>
7181 This function returns the number of bits it takes to store {#syntax#}T{#endsyntax#} in memory.
7181 This function returns the number of bits it takes to store {#syntax#}T{#endsyntax#} in memory if the type
7182 were a field in a packed struct/union.
71827183 The result is a target-specific compile time constant.
71837184 </p>
71847185 <p>