mirror of https://github.com/XAMPPRocky/tokei
chore: fix typos (#1303)
This commit is contained in:
parent
17e8418d9f
commit
fc5cea5a12
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue