summaryrefslogtreecommitdiffhomepage
path: root/hack.html.markdown
diff options
context:
space:
mode:
authorSean Corrales <scorrales@gmail.com>2015-10-05 09:50:44 -0500
committerSean Corrales <scorrales@gmail.com>2015-10-05 09:50:44 -0500
commitfe5157d36f4b508479edaa214e097f65e7ba26e1 (patch)
treee6a3f377ba4ed7735bbcf3c2908082b811168e9e /hack.html.markdown
parenta743c831a07f5e846051b156152fe8e6ddcfb097 (diff)
parente57fb68756ec6f4242ad04c359f7796606b52a42 (diff)
Merge pull request #1 from adambard/master
Merging changes from source branch
Diffstat (limited to 'hack.html.markdown')
-rw-r--r--hack.html.markdown7
1 files changed, 4 insertions, 3 deletions
diff --git a/hack.html.markdown b/hack.html.markdown
index 632fc705..b9730dc0 100644
--- a/hack.html.markdown
+++ b/hack.html.markdown
@@ -2,6 +2,7 @@
language: Hack
contributors:
- ["Stephen Holdaway", "https://github.com/stecman"]
+ - ["David Lima", "https://github.com/davelima"]
filename: learnhack.hh
---
@@ -152,7 +153,7 @@ class ArgumentPromotion
private bool $isAwesome) {}
}
-class WithoutArugmentPromotion
+class WithoutArgumentPromotion
{
public string $name;
@@ -169,9 +170,9 @@ class WithoutArugmentPromotion
}
-// Co-oprerative multi-tasking
+// Co-operative multi-tasking
//
-// Two new keywords "async" and "await" can be used to perform mutli-tasking
+// Two new keywords "async" and "await" can be used to perform multi-tasking
// Note that this does not involve threads - it just allows transfer of control
async function cooperativePrint(int $start, int $end) : Awaitable<void>
{