summaryrefslogtreecommitdiff
path: root/docs/user-guide/03-convenience-features.md
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-12-13 16:39:46 -0800
committerGitHub <noreply@github.com>2023-12-13 16:39:46 -0800
commit7e7d9ce142c3ef077743496cbf8cdc8f669a66af (patch)
treecabcc19ab27e638877d5d12080377f50f01e6f1a /docs/user-guide/03-convenience-features.md
parent3979660d4fe1fd6c1f1d9b8956e96817e17c3f4e (diff)
Polish language server and documentation. (#3410)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'docs/user-guide/03-convenience-features.md')
-rw-r--r--docs/user-guide/03-convenience-features.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/user-guide/03-convenience-features.md b/docs/user-guide/03-convenience-features.md
index 4957f267e..eefd9fc63 100644
--- a/docs/user-guide/03-convenience-features.md
+++ b/docs/user-guide/03-convenience-features.md
@@ -87,13 +87,16 @@ namespace ns
You can also use the `using` keyword to pull symbols defined in a different namespace to
the current scope, removing the requirement for using fully qualified names.
-```csharp
+```cpp
namespace ns1.ns2
{
int f();
}
using ns1.ns2;
+// or:
+using namespace ns1.ns2; // alternative syntax.
+
void test() { f(); } // OK.
```