docs: fix code in commands tutorial (#501)

This commit is contained in:
Benjamin DeCoste 2022-10-12 00:45:51 -03:00 committed by GitHub
parent 1ed623fdc0
commit aba3cec050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ that returns a command. For example:
```go ```go
func cmdWithArg(id int) tea.Cmd { func cmdWithArg(id int) tea.Cmd {
return func() tea.Msg { return func() tea.Msg {
return someMsg{id: int} return someMsg{id: id}
} }
} }
``` ```