summaryrefslogtreecommitdiffhomepage
path: root/scala.html.markdown
diff options
context:
space:
mode:
authorStanislav (Stanley) Modrak <44023416+smith558@users.noreply.github.com>2023-03-08 09:35:48 +0000
committerGitHub <noreply@github.com>2023-03-08 09:35:48 +0000
commit4c79407041c1a1969815368c11003cb5ea20a837 (patch)
treec464ca387191c91f0dc2572ef4b281a3c7aa1844 /scala.html.markdown
parente3ee5b81faad348586ff50dda2100046bd17591f (diff)
parentfbaa905e23f26d20b37a3886dd8e07cd6edb8680 (diff)
Merge branch 'master' into patch-4
Diffstat (limited to 'scala.html.markdown')
-rw-r--r--scala.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/scala.html.markdown b/scala.html.markdown
index d2d45dc9..bb20f624 100644
--- a/scala.html.markdown
+++ b/scala.html.markdown
@@ -302,7 +302,7 @@ do {
// Recursion is the idiomatic way of repeating an action in Scala (as in most
// other functional languages).
// Recursive functions need an explicit return type, the compiler can't infer it.
-// Here it's Unit, which is analagous to a `void` return type in Java
+// Here it's Unit, which is analogous to a `void` return type in Java
def showNumbersInRange(a: Int, b: Int): Unit = {
print(a)
if (a < b)