chore: fix typos (#1303)

This commit is contained in:
Zhizhen He
2025-12-07 12:17:50 +01:00
committed by GitHub
parent 17e8418d9f
commit fc5cea5a12
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
/* Cheeky // block comments */
// Caculate a factorial
// Calculate a factorial
proc factorial(n: int): int {
var x = 1; // this will eventually be returned
for i in 1..n {
+1 -1
View File
@@ -2,7 +2,7 @@
# A function to perform arithmetic
def add_mul(adder; multiplier):
# comment chararacter in quotes
# comment character in quotes
"# Result: " + ((. + adder) * multiplier | tostring);
# and demonstrate it