Minor fixes
This commit is contained in:
parent
8397eac55b
commit
0ec510af11
7 changed files with 21 additions and 20 deletions
|
|
@ -12,7 +12,7 @@ proc `**`(number, power: int): int =
|
|||
result *= number
|
||||
```
|
||||
|
||||
A possible gotcha is declaring a variable called result and expecting it to have the same semantics.
|
||||
A possible gotcha is declaring a new variable called `result` and expecting it to have the same semantics.
|
||||
|
||||
``` nimrod
|
||||
proc unexpected(): int =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue