add a StringTable.clear that requires no mode specification (#12853)

* add clear overload, test, changelog

* add since annotation
This commit is contained in:
Andy Davidoff 2019-12-09 00:58:36 -05:00 • committed by Andreas Rumpf
commit a3d45d0c1b
3 changed files with 9 additions and 1 deletions

View file

@ -34,6 +34,7 @@
delimiter instead of '{' and '}'.
- introduced new procs in `tables.nim`: `OrderedTable.pop`, `CountTable.del`,
`CountTable.pop`, `Table.pop`
- To `strtabs.nim`, added `StringTable.clear` overload that reuses the existing mode.
- Added `sugar.outplace` for turning in-place algorithms like `sort` and `shuffle` into