authorgravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2019-09-25 19:45:09-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-26 10:55:13-04:00
logefea7958f8bcd16349d5867f4132fbaf45df7065
tree69e08b2e094fea60804c9d1fb5594da9bc5df122
parent2f208330975041cdb36763fab314037e46c291fc

doc: usingnamespace imports only public decls


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

doc/langref.html.in+1-1
...@@ -5189,7 +5189,7 @@ test "@intToPtr for pointer to zero bit type" {...@@ -5189,7 +5189,7 @@ test "@intToPtr for pointer to zero bit type" {
51895189
5190 {#header_open|usingnamespace#}5190 {#header_open|usingnamespace#}
5191 <p>5191 <p>
5192 {#syntax#}usingnamespace{#endsyntax#} is a top level declaration that imports all the declarations of5192 {#syntax#}usingnamespace{#endsyntax#} is a top level declaration that imports all the public declarations of
5193 the operand, which must be a {#link|struct#}, {#link|union#}, or {#link|enum#}, into the current scope:5193 the operand, which must be a {#link|struct#}, {#link|union#}, or {#link|enum#}, into the current scope:
5194 </p>5194 </p>
5195 {#code_begin|test|usingnamespace#}5195 {#code_begin|test|usingnamespace#}