From 884bb7fbc6f55f6873cb9369c2a2ab1f1125514b Mon Sep 17 00:00:00 2001 From: jlp765 Date: Mon, 5 Sep 2016 21:45:35 +1000 Subject: [PATCH] reduce width of comment comparison --- Nim-for-C-programmers.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Nim-for-C-programmers.md b/Nim-for-C-programmers.md index c084cd1..514dbc0 100644 --- a/Nim-for-C-programmers.md +++ b/Nim-for-C-programmers.md @@ -129,8 +129,8 @@ Note: Code examples are not exactly one-to-one, there may be subtle differences
-/* This is a single-line comment */
-int x = 3;  // another single-line comment
+/* A single-line comment */
+int x = 3;  // more comment
 // So is this
 
@@ -141,14 +141,16 @@ a multi-line comment
 // or maybe this way?
 //
 #if 0
-    some code including comments to be ignored
+    some code 
+    including comments 
+    to be ignored
 #endif
 
-# This is a single-line comment
-var x = 3   #  another comment
+# A single-line comment
+var x = 3  # more comment
 
 discard """
@@ -159,7 +161,8 @@ a multi-line comment
 #
 when false:
   a multi-line comment 
-  (but must be indented to be included)
+  (but must be indented 
+  to be included)