mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
readme example typo
This commit is contained in:
committed by
Christoffer Lerno
parent
40ff6b1315
commit
46d3e3dc97
@@ -36,7 +36,7 @@ whole new language.
|
||||
The following code shows [generic modules](https://c3-lang.org/references/docs/generics/) (more examples can be found at https://c3-lang.org/references/docs/examples/).
|
||||
|
||||
```cpp
|
||||
module stack (<Type>);
|
||||
module stack {Type};
|
||||
// Above: the parameterized type is applied to the entire module.
|
||||
|
||||
struct Stack
|
||||
|
||||
Reference in New Issue
Block a user