Fix options module to use new import name

This commit is contained in:
def
2015-11-23 16:30:18 +01:00
parent 7540cdd169
commit 93e01da671

View File

@@ -28,7 +28,7 @@
##
## .. code-block:: nim
##
## import optionals
## import options
##
## proc find(haystack: string, needle: char): Option[int] =
## for i, c in haystack:
@@ -156,7 +156,7 @@ proc `$`*[T]( self: Option[T] ): string =
when isMainModule:
import unittest, sequtils
suite "optionals":
suite "options":
# work around a bug in unittest
let intNone = none(int)
let stringNone = none(string)