Fix code sample in March 2022 Recap

This commit is contained in:
ajeffrey@roblox.com 2022-03-31 08:43:02 -05:00
parent f3ea2f96f7
commit b44dcaa89d

View file

@ -39,7 +39,7 @@ local result: Result<number, string> = ...
if result.type == "ok" then
-- result :: Ok<number>
print(result.value)
else
elseif result.type == "error" then
-- result :: Err<string>
error(result.error)
end