From a160b7b2f836b6e6c99820b555b79ebd0e7471f7 Mon Sep 17 00:00:00 2001 From: roxk Date: Mon, 29 Nov 2021 08:35:07 +0800 Subject: [PATCH] Fix incorrect import example --- docs/cpp/import-export-module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cpp/import-export-module.md b/docs/cpp/import-export-module.md index 74d090c8f37..dea4a86503d 100644 --- a/docs/cpp/import-export-module.md +++ b/docs/cpp/import-export-module.md @@ -45,7 +45,7 @@ Non-exported names are not visible to code that imports the module: ```cpp //MyProgram.cpp -import module ModuleA; +import ModuleA; int main() { Bar::f(); // OK