summaryrefslogtreecommitdiffhomepage
path: root/nim.html.markdown
diff options
context:
space:
mode:
authorAndre Polykanine A.K.A. Menelion ElensĂșlĂ« <andre@oire.org>2017-08-24 01:41:51 +0300
committerGitHub <noreply@github.com>2017-08-24 01:41:51 +0300
commit2694c89c3322b730b5635960e893323aa6524114 (patch)
treee910f541ae5e55042990459d029404c148ba1051 /nim.html.markdown
parent1058ecc7d4d966788e5d963caf9f8c27dd2ac330 (diff)
parent985d23a52b76593a120adff5381c2df3a80fe298 (diff)
Merge pull request #2807 from HairyFotr/typos
[all/en] Fix a bunch of typos
Diffstat (limited to 'nim.html.markdown')
-rw-r--r--nim.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/nim.html.markdown b/nim.html.markdown
index 5d00304d..07674532 100644
--- a/nim.html.markdown
+++ b/nim.html.markdown
@@ -76,7 +76,7 @@ let myDrink = drinks[2]
# static typing powerful and useful.
type
- Name = string # A type alias gives you a new type that is interchangable
+ Name = string # A type alias gives you a new type that is interchangeable
Age = int # with the old type but is more descriptive.
Person = tuple[name: Name, age: Age] # Define data structures too.
AnotherSyntax = tuple
@@ -109,7 +109,7 @@ when compileBadCode:
type
Color = enum cRed, cBlue, cGreen
- Direction = enum # Alternative formating
+ Direction = enum # Alternative formatting
dNorth
dWest
dEast