commit efea7958f8bcd16349d5867f4132fbaf45df7065 (tree) parent 2f208330975041cdb36763fab314037e46c291fc Author: Michael Dusan <michael.dusan@gmail.com> Date: Wed, 25 Sep 2019 19:45:09 -0400 doc: usingnamespace imports only public decls Diffstat:
| M | doc/langref.html.in | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -5189,7 +5189,7 @@ test "@intToPtr for pointer to zero bit type" { {#header_open|usingnamespace#} <p> - {#syntax#}usingnamespace{#endsyntax#} is a top level declaration that imports all the declarations of + {#syntax#}usingnamespace{#endsyntax#} is a top level declaration that imports all the public declarations of the operand, which must be a {#link|struct#}, {#link|union#}, or {#link|enum#}, into the current scope: </p> {#code_begin|test|usingnamespace#}