Skip to content

Commit be19dc9

Browse files
committed
Correct name of cpp2::args in documentation
1 parent 7d28907 commit be19dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp2/common.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ As always, `main` is the entry point of the program. For example:
1010

1111
- One parameter of implicit type named `args`:   **`#!cpp main: (args) /*etc.*/`**
1212

13-
- The type of `args` cannot be explicitly specified. It is always `cpp2::args_t`, which behaves similarly to a `#!cpp const std::array<std::string_view>`.
13+
- The type of `args` cannot be explicitly specified. It is always `cpp2::args`, which behaves similarly to a `#!cpp const std::array<std::string_view>`.
1414

1515
- Using `args` performs zero heap allocations. Every `string_view` is directly bound to the string storage provided by host environment.
1616

0 commit comments

Comments
 (0)