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; }
74557455 Attempting to convert a number which is out of range of the destination type results in
74567456 safety-protected {#link|Undefined Behavior#}.
74577457 </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>
74587462 {#header_close#}
74597463
74607464 {#header_open|@intToEnum#}
......@@ -8206,10 +8210,6 @@ test "integer truncation" {
82068210 This function always truncates the significant bits of the integer, regardless
82078211 of endianness on the target platform.
82088212 </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>
82138213 {#header_close#}
82148214
82158215 {#header_open|@Type#}