Skip to content

Commit

Permalink
Fixed fmt typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandMarchand committed Jul 18, 2022
1 parent e6918cd commit 58bef2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sample.avl
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ func printing():
print("Avalanche " + "is" + " awesome.") # shorthand for:
print(str::cat("Avalanche ", "is", " awesome."))

# print() has an explicit str::ftm() statement
# print() has an explicit str::fmt() statement
print("It has been raining for %d days.\n", 3)
print(str::ftm("It has been raining for %d days.\n", 3))
print(str::fmt("It has been raining for %d days.\n", 3))

print_err("This gets printed to STDERR.")

Expand Down

0 comments on commit 58bef2d

Please sign in to comment.