diff --git a/Nim-for-C-programmers.md b/Nim-for-C-programmers.md index 4578577..a981196 100644 --- a/Nim-for-C-programmers.md +++ b/Nim-for-C-programmers.md @@ -91,7 +91,7 @@ In C, there's nothing that stops you from keeping a pointer to a stack-allocated ### Unsigned integers -Nim strongly discourages the use of unsigned integers, as it's considered unnecessary and somewhat unsafe* for most applications. The unsigned types uint, uint8/16/32/64 are available by default, but the arithmetic and binary functions are not defined. If you do need to do arithmetic on unsigned integers, you need to import the **unsigned** module. +Nim strongly discourages the use of unsigned integers, as it's considered unnecessary and somewhat unsafe* for most applications. *See: http://critical.eschertech.com/2010/04/07/danger-unsigned-types-used-here/ @@ -153,9 +153,9 @@ a multi-line comment var x = 3 # more comment
-discard """
-a multi-line comment
-"""
+#[
+a multi-line comment. #[ may be nested ]#
+]#
 #
 # or maybe this way?
 #