doc: usingnamespace imports only public decls

This commit is contained in:
Michael Dusan 2019-09-25 19:45:09 -04:00 committed by Andrew Kelley
parent 2f20833097
commit efea7958f8

View File

@ -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#}