authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-11-29 12:41:07-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-11-29 12:41:07-05:00
loga438a615e6e2ef9e49bf10405b3ba6c8814ccf4b
treefd479d1246cfd05a2d2b07753d590c99c7952a85
parent2ab7f31e99defc62353c3dfed0f6f427c9ac8e80
signaturelock-open Commit is signed but in an unrecognized format.

docs: this statement was in the wrong section


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

doc/langref.html.in+4-4
...@@ -7455,6 +7455,10 @@ fn add(a: i32, b: i32) i32 { return a + b; }...@@ -7455,6 +7455,10 @@ fn add(a: i32, b: i32) i32 { return a + b; }
7455 Attempting to convert a number which is out of range of the destination type results in7455 Attempting to convert a number which is out of range of the destination type results in
7456 safety-protected {#link|Undefined Behavior#}.7456 safety-protected {#link|Undefined Behavior#}.
7457 </p>7457 </p>
7458 <p>
7459 If {#syntax#}T{#endsyntax#} is {#syntax#}comptime_int{#endsyntax#},
7460 then this is semantically equivalent to {#link|Type Coercion#}.
7461 </p>
7458 {#header_close#}7462 {#header_close#}
74597463
7460 {#header_open|@intToEnum#}7464 {#header_open|@intToEnum#}
...@@ -8206,10 +8210,6 @@ test "integer truncation" {...@@ -8206,10 +8210,6 @@ test "integer truncation" {
8206 This function always truncates the significant bits of the integer, regardless8210 This function always truncates the significant bits of the integer, regardless
8207 of endianness on the target platform.8211 of endianness on the target platform.
8208 </p>8212 </p>
8209 <p>
8210 If {#syntax#}T{#endsyntax#} is {#syntax#}comptime_int{#endsyntax#},
8211 then this is semantically equivalent to {#link|Type Coercion#}.
8212 </p>
8213 {#header_close#}8213 {#header_close#}
82148214
8215 {#header_open|@Type#}8215 {#header_open|@Type#}