Fix README template for newly generated projects, and hello, world

This commit is contained in:
KtorZ
2023-03-18 22:23:55 +01:00
parent 0f35675f57
commit 6422027c6c
2 changed files with 6 additions and 5 deletions

View File

@@ -105,8 +105,8 @@ fn readme(root: &Path, project_name: &str) -> miette::Result<()> {
For example, as `validators/always_true.ak`
```gleam
validator spend {{
pub fn spend(_datum: Data, _redeemer: Data, _context: Data) -> Bool {{
validator {{
fn spend(_datum: Data, _redeemer: Data, _context: Data) -> Bool {{
True
}}
}}