authorgravatar for markfirmware@users.noreply.github.commarkfirmware <markfirmware@users.noreply.github.com> 2019-06-08 23:49:50-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-06-09 01:34:13-04:00
log10e33b35368735d1911a073bcb7cbbaebee671ee
tree39e31355d891423bd4637b43cfaf530790f8d181
parentad064b4a0baca3a800e8f98f2f10e47e3d703cfb

grammar


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

doc/langref.html.in+2-2
......@@ -4698,7 +4698,7 @@ test "implicit casting to optionals wrapped in error union" {
46984698 {#code_end#}
46994699 {#header_close#}
47004700 {#header_open|Implicit Cast: Error Unions#}
4701 <p>The the payload type of an {#link|Error Union Type#} as well as the {#link|Error Set Type#}
4701 <p>The payload type of an {#link|Error Union Type#} as well as the {#link|Error Set Type#}
47024702 implicitly cast to the error union type:
47034703 </p>
47044704 {#code_begin|test#}
......@@ -4985,7 +4985,7 @@ fn eql_i32(a: i32, b: i32) bool {
49854985 return a == b;
49864986}
49874987 {#code_end#}
4988 <p>Note that this is different than using a dummy value for the hash map value.
4988 <p>Note that this is different from using a dummy value for the hash map value.
49894989 By using {#syntax#}void{#endsyntax#} as the type of the value, the hash map entry type has no value field, and
49904990 thus the hash map takes up less space. Further, all the code that deals with storing and loading the
49914991 value is deleted, as seen above.