From e23601b92415895228f62b4545c523cb0e196389 Mon Sep 17 00:00:00 2001 From: "eryn L. K" Date: Mon, 3 Jan 2022 17:16:14 -0500 Subject: [PATCH] Fix docs typo Closes #78 --- docs/Tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Tour.md b/docs/Tour.md index 9f594fd..60a7e5c 100644 --- a/docs/Tour.md +++ b/docs/Tour.md @@ -11,7 +11,7 @@ Here's quick introduction to Promises. For more complete information, check out There are a few ways to create a Promise. The most common way is to call [Promise.new](/api/Promise#new): ```lua -local myFunction() +local function myFunction() return Promise.new(function(resolve, reject, onCancel) somethingThatYields() resolve("Hello world!")