summaryrefslogtreecommitdiffhomepage
path: root/hack.html.markdown
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-10-04 21:32:35 +0200
committerven <vendethiel@hotmail.fr>2015-10-04 21:32:35 +0200
commit38b9bf7eed7ae3b7f2cf1fc97f01a223f88fce90 (patch)
tree889e02200e1cc5cf39053f6417bdd3b3a8418141 /hack.html.markdown
parent2a337bef67c44db674b13bfcc9a94e4f3429bfa9 (diff)
parentd2fde6512424b754e0d45ac484d86472a99da3ef (diff)
Merge pull request #1335 from davelima/master
[hack/en] Fixed some typos and added pt-br translation
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>
{