Improve documentation for packedsets (#16715)

* Improve documentation for packedsets

Add more runnableExamples
Add deprecated pragma to intsets
Replace intsets with packedsets in lib.rst

* Apply suggested changes
This commit is contained in:
konsumlamm 2021-01-16 16:09:53 +01:00 • committed by GitHub
commit 44ceefa9fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 154 additions and 151 deletions

View file

@ -7,9 +7,10 @@
# distribution, for details about the copyright.
#
## Deprecated by the generic `PackedSet` for ordinal sparse sets.
## **See also:**
## * `Ordinal packed sets module <packedsets.html>`_ for more general packed sets
## Deprecated in favor of the generic `packedsets module <packedsets.html>`_
## for ordinal sparse sets.
{.deprecated: "Use the 'packedsets' module instead".}
import std/private/since
import std/packedsets