From efea7958f8bcd16349d5867f4132fbaf45df7065 Mon Sep 17 00:00:00 2001 From: Michael Dusan Date: Wed, 25 Sep 2019 19:45:09 -0400 Subject: [PATCH] doc: usingnamespace imports only public decls --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 744cc50164..d855972dd0 100644 --- 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#}

- {#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:

{#code_begin|test|usingnamespace#}