chore: fix typos (#1303)

This commit is contained in:
Zhizhen He 2025-12-07 19:17:50 +08:00 committed by GitHub
parent 17e8418d9f
commit fc5cea5a12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

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 {

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