summary refs log tree commit diff stats
path: root/examples/htmlrefs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/htmlrefs.nim')
-rw-r--r--examples/htmlrefs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/htmlrefs.nim b/examples/htmlrefs.nim
index 824c1d8c7..8b668325f 100644
--- a/examples/htmlrefs.nim
+++ b/examples/htmlrefs.nim
@@ -36,7 +36,7 @@ block mainLoop:
               case x.kind
               of xmlEof: break mainLoop
               of xmlElementClose: break
-              else: nil
+              else: discard
             x.next() # skip ``xmlElementClose``
             # now we have the description for the ``a`` element
             var desc = ""