diff options
Diffstat (limited to 'web/news.txt')
-rw-r--r-- | web/news.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/news.txt b/web/news.txt index 2c6ef4196..93cb71f94 100644 --- a/web/news.txt +++ b/web/news.txt @@ -104,7 +104,7 @@ the use of an ``await`` macro which behaves similar to C#'s await. The following is a very simple chat server demonstrating Nimrod's new async capabilities. -.. code-block::nimrod +.. code-block::nim import asyncnet, asyncdispatch var clients: seq[PAsyncSocket] = @[] @@ -137,7 +137,7 @@ Syntactic sugar for anonymous procedures has also been introduced. It too has been implemented as a macro. The following shows some simple usage of the new syntax: -.. code-block::nimrod +.. code-block::nim import future var s = @[1, 2, 3, 4, 5] |