summaryrefslogtreecommitdiffhomepage
path: root/hack.html.markdown
diff options
context:
space:
mode:
authorZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-06 18:19:20 -0400
committerZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-06 18:19:20 -0400
commitc4f93c0b0ec1fcea11e336b67929b9d6f426765c (patch)
treea97e9f7a56330e45122bb81bb5194f2aefe03fdb /hack.html.markdown
parent29cbff176857653422555650c983afef4a28ae1f (diff)
parent55c80f255202b03c4c3a66ac1d37f880a3782b68 (diff)
Merge remote-tracking branch 'adambard/master'
Conflicts: java.html.markdown
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>
{