diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2014-02-01 16:07:44 -0600 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2014-02-01 16:07:44 -0600 |
commit | 9f29bb8d9ee01ead64e8af89d471f6fcb67b9712 (patch) | |
tree | 76c20d2173ef4902685550664b78c6f93cc2a11c /lib/pure/collections/sets.nim | |
parent | 2c5a2d07fb3bb25dcb590d61882f88528ea17e91 (diff) | |
download | Nim-9f29bb8d9ee01ead64e8af89d471f6fcb67b9712.tar.gz |
corrected docs and tests
Diffstat (limited to 'lib/pure/collections/sets.nim')
-rw-r--r-- | lib/pure/collections/sets.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/collections/sets.nim b/lib/pure/collections/sets.nim index e478a2ce1..e6ab617e5 100644 --- a/lib/pure/collections/sets.nim +++ b/lib/pure/collections/sets.nim @@ -226,11 +226,11 @@ proc `$`*[A](s: TOrderedSet[A]): string = dollarImpl() proc `<`*[A](s, t: TSet[A]): bool = - ## Is a a strict subset of b? + ## Is s a strict subset of t? s.counter != t.counter and s <= t proc `<=`*[A](s, t: TSet[A]): bool = - ## Is a a subset of b? + ## Is s a subset of t? result = false if s.counter > t.counter: return result = true |