summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSizhe Zhao <prc.zhao@outlook.com>2020-05-05 14:59:32 +0800
committerAndrew Ryan Davis <AndrewDavis1191@gmail.com>2020-05-23 15:40:10 -0700
commit711912580bfc887a898dacc4f9063121b4ec57ee (patch)
tree725d511552dd9b86597a1c7b1f81ff882ad30657
parent27d32b5e435bab9531250c69ab889aeb26d7e77b (diff)
Fix typos in raku.html.markdown
-rw-r--r--raku.html.markdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/raku.html.markdown b/raku.html.markdown
index f51138a5..8a30427a 100644
--- a/raku.html.markdown
+++ b/raku.html.markdown
@@ -1558,9 +1558,9 @@ END { say "Runs at run time, as late as possible, only once" }
#
# 14.3 Block phasers
#
-ENTER { say "[*] Runs everytime you enter a block, repeats on loop blocks" }
+ENTER { say "[*] Runs every time you enter a block, repeats on loop blocks" }
LEAVE {
- say "Runs everytime you leave a block, even when an exception
+ say "Runs every time you leave a block, even when an exception
happened. Repeats on loop blocks."
}
@@ -1619,9 +1619,9 @@ say "This code took " ~ (time - CHECK time) ~ "s to compile";
# ... or clever organization:
class DB {
- method start-transaction { say "Starting transation!" }
- method commit { say "Commiting transaction..." }
- method rollback { say "Something went wrong. Rollingback!" }
+ method start-transaction { say "Starting transaction!" }
+ method commit { say "Committing transaction..." }
+ method rollback { say "Something went wrong. Rolling back!" }
}
sub do-db-stuff {