readme example typo

This commit is contained in:
walther chen
2025-03-29 15:42:55 +07:00
committed by Christoffer Lerno
parent 40ff6b1315
commit 46d3e3dc97

View File

@@ -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