From aba3cec05086e13d4d4e5f12faf45340c8df4c0b Mon Sep 17 00:00:00 2001 From: Benjamin DeCoste Date: Wed, 12 Oct 2022 00:45:51 -0300 Subject: [PATCH] docs: fix code in commands tutorial (#501) --- tutorials/commands/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/commands/README.md b/tutorials/commands/README.md index 3c43bc7..661f83b 100644 --- a/tutorials/commands/README.md +++ b/tutorials/commands/README.md @@ -189,7 +189,7 @@ that returns a command. For example: ```go func cmdWithArg(id int) tea.Cmd { return func() tea.Msg { - return someMsg{id: int} + return someMsg{id: id} } } ```